protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'href': $this->_href = $attribute->nodeValue; break; case 'rel': $this->_rel = $attribute->nodeValue; break; case 'type': $this->_type = $attribute->nodeValue; break; case 'hreflang': $this->_hrefLang = $attribute->nodeValue; break; case 'title': $this->_title = $attribute->nodeValue; break; case 'length': $this->_length = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } }
protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'type': $this->_type = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } }
protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'uri': $this->_uri = $attribute->nodeValue; break; case 'version': $this->_version = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } }
protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'term': $this->_term = $attribute->nodeValue; break; case 'scheme': $this->_scheme = $attribute->nodeValue; break; case 'label': $this->_label = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } }
protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'url': $this->_url = $attribute->nodeValue; break; case 'height': $this->_height = $attribute->nodeValue; break; case 'width': $this->_width = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } }