Exemplo n.º 1
0
 protected function takeAttributeFromDOM($attribute)
 {
     switch ($attribute->localName) {
         case 'src':
             $this->_src = $attribute->nodeValue;
             break;
         default:
             parent::takeAttributeFromDOM($attribute);
     }
 }
Exemplo n.º 2
0
 public function __construct($text = null)
 {
     parent::__construct();
     $this->_text = $text;
 }