public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) { $element = parent::getDOM($doc, $majorVersion, $minorVersion); if ($this->_gphotoId != null) { $element->appendChild($this->_gphotoId->getDOM($element->ownerDocument)); } if ($this->_gphotoUser != null) { $element->appendChild($this->_gphotoUser->getDOM($element->ownerDocument)); } if ($this->_gphotoNickname != null) { $element->appendChild($this->_gphotoNickname->getDOM($element->ownerDocument)); } if ($this->_gphotoName != null) { $element->appendChild($this->_gphotoName->getDOM($element->ownerDocument)); } if ($this->_gphotoLocation != null) { $element->appendChild($this->_gphotoLocation->getDOM($element->ownerDocument)); } if ($this->_gphotoAccess != null) { $element->appendChild($this->_gphotoAccess->getDOM($element->ownerDocument)); } if ($this->_gphotoTimestamp != null) { $element->appendChild($this->_gphotoTimestamp->getDOM($element->ownerDocument)); } if ($this->_gphotoNumPhotos != null) { $element->appendChild($this->_gphotoNumPhotos->getDOM($element->ownerDocument)); } if ($this->_gphotoCommentingEnabled != null) { $element->appendChild($this->_gphotoCommentingEnabled->getDOM($element->ownerDocument)); } if ($this->_gphotoCommentCount != null) { $element->appendChild($this->_gphotoCommentCount->getDOM($element->ownerDocument)); } return $element; }