Exemplo n.º 1
0
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     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));
     }
     return $element;
 }