Example #1
0
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_sendEventNotifications != null) {
         $element->appendChild($this->_sendEventNotifications->getDOM($element->ownerDocument));
     }
     if ($this->_timezone != null) {
         $element->appendChild($this->_timezone->getDOM($element->ownerDocument));
     }
     return $element;
 }
Example #2
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_sendEventNotifications != null) {
         $element->appendChild($this->_sendEventNotifications->getDOM($element->ownerDocument));
     }
     if ($this->_timezone != null) {
         $element->appendChild($this->_timezone->getDOM($element->ownerDocument));
     }
     if ($this->_quickadd != null) {
         $element->appendChild($this->_quickadd->getDOM($element->ownerDocument));
     }
     return $element;
 }