public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) { $element = parent::getDOM($doc, $majorVersion, $minorVersion); if ($this->_generator != null) { $element->appendChild($this->_generator->getDOM($element->ownerDocument)); } if ($this->_icon != null) { $element->appendChild($this->_icon->getDOM($element->ownerDocument)); } if ($this->_logo != null) { $element->appendChild($this->_logo->getDOM($element->ownerDocument)); } if ($this->_subtitle != null) { $element->appendChild($this->_subtitle->getDOM($element->ownerDocument)); } return $element; }
public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) { $element = parent::getDOM($doc, $majorVersion, $minorVersion); if ($this->_content != null) { $element->appendChild($this->_content->getDOM($element->ownerDocument)); } if ($this->_published != null) { $element->appendChild($this->_published->getDOM($element->ownerDocument)); } if ($this->_source != null) { $element->appendChild($this->_source->getDOM($element->ownerDocument)); } if ($this->_summary != null) { $element->appendChild($this->_summary->getDOM($element->ownerDocument)); } if ($this->_control != null) { $element->appendChild($this->_control->getDOM($element->ownerDocument)); } if ($this->_edited != null) { $element->appendChild($this->_edited->getDOM($element->ownerDocument)); } return $element; }