Ejemplo n.º 1
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_countHint != null) {
         $element->appendChild($this->_countHint->getDOM($element->ownerDocument));
     }
     if ($this->_playlistTitle != null) {
         $element->appendChild($this->_playlistTitle->getDOM($element->ownerDocument));
     }
     if ($this->_playlistId != null) {
         $element->appendChild($this->_playlistId->getDOM($element->ownerDocument));
     }
     if ($this->_mediaThumbnail != null) {
         $element->appendChild($this->_mediaThumbnail->getDOM($element->ownerDocument));
     }
     if ($this->_username != null) {
         $element->appendChild($this->_username->getDOM($element->ownerDocument));
     }
     if ($this->_queryString != null) {
         $element->appendChild($this->_queryString->getDOM($element->ownerDocument));
     }
     if ($this->_feedLink != null) {
         foreach ($this->_feedLink as $feedLink) {
             $element->appendChild($feedLink->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 2
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_accessLevel != null) {
         $element->appendChild($this->_accessLevel->getDOM($element->ownerDocument));
     }
     if ($this->_color != null) {
         $element->appendChild($this->_color->getDOM($element->ownerDocument));
     }
     if ($this->_hidden != null) {
         $element->appendChild($this->_hidden->getDOM($element->ownerDocument));
     }
     if ($this->_selected != null) {
         $element->appendChild($this->_selected->getDOM($element->ownerDocument));
     }
     if ($this->_timezone != null) {
         $element->appendChild($this->_timezone->getDOM($element->ownerDocument));
     }
     if ($this->_where != null) {
         foreach ($this->_where as $where) {
             $element->appendChild($where->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 3
0
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_where != null) {
         $element->appendChild($this->_where->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 4
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     foreach ($this->_baseAttributes as $baseAttribute) {
         $element->appendChild($baseAttribute->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 5
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_gphotoWeight !== null) {
         $element->appendChild($this->_gphotoWeight->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 6
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_cell != null) {
         $element->appendChild($this->_cell->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 7
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     foreach ($this->_property as $p) {
         $element->appendChild($p->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 8
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all 
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for sending to the server upon updates, or
  * for application storage/persistence.   
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all 
  * child properties. 
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_feedLink != null) {
         foreach ($this->_feedLink as $feedLink) {
             $element->appendChild($feedLink->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 9
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if (!empty($this->_custom)) {
         foreach ($this->_custom as $custom) {
             $element->appendChild($custom->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 10
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_login !== null) {
         $element->appendChild($this->_login->getDOM($element->ownerDocument));
     }
     if ($this->_nickname !== null) {
         $element->appendChild($this->_nickname->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 11
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all 
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for sending to the server upon updates, or
  * for application storage/persistence.   
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all 
  * child properties. 
  */
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_description != null) {
         $element->appendChild($this->_description->getDOM($element->ownerDocument));
     }
     if ($this->_feedLink != null) {
         foreach ($this->_feedLink as $feedLink) {
             $element->appendChild($feedLink->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 12
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     foreach ($this->_contentAttributes as $contentAttribute) {
         $element->appendChild($contentAttribute->getDOM($element->ownerDocument));
     }
     foreach ($this->_tax as $tax) {
         if ($tax instanceof Varien_Gdata_Gshopping_Extension_Tax) {
             $element->appendChild($tax->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 13
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_who != null) {
         foreach ($this->_who as $who) {
             $element->appendChild($who->getDOM($element->ownerDocument));
         }
     }
     if ($this->_when != null) {
         foreach ($this->_when as $when) {
             $element->appendChild($when->getDOM($element->ownerDocument));
         }
     }
     if ($this->_where != null) {
         foreach ($this->_where as $where) {
             $element->appendChild($where->getDOM($element->ownerDocument));
         }
     }
     if ($this->_recurrenceException != null) {
         foreach ($this->_recurrenceException as $recurrenceException) {
             $element->appendChild($recurrenceException->getDOM($element->ownerDocument));
         }
     }
     if ($this->_extendedProperty != null) {
         foreach ($this->_extendedProperty as $extProp) {
             $element->appendChild($extProp->getDOM($element->ownerDocument));
         }
     }
     if ($this->_recurrence != null) {
         $element->appendChild($this->_recurrence->getDOM($element->ownerDocument));
     }
     if ($this->_eventStatus != null) {
         $element->appendChild($this->_eventStatus->getDOM($element->ownerDocument));
     }
     if ($this->_comments != null) {
         $element->appendChild($this->_comments->getDOM($element->ownerDocument));
     }
     if ($this->_transparency != null) {
         $element->appendChild($this->_transparency->getDOM($element->ownerDocument));
     }
     if ($this->_visibility != null) {
         $element->appendChild($this->_visibility->getDOM($element->ownerDocument));
     }
     if ($this->_originalEvent != null) {
         $element->appendChild($this->_originalEvent->getDOM($element->ownerDocument));
     }
     if ($this->_entryLink != null) {
         $element->appendChild($this->_entryLink->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 14
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_videoId !== null) {
         $element->appendChild($this->_videoId->getDOM($element->ownerDocument));
     }
     if ($this->_username !== null) {
         $element->appendChild($this->_username->getDOM($element->ownerDocument));
     }
     if ($this->_rating !== null) {
         $element->appendChild($this->_rating->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 15
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_login !== null) {
         $element->appendChild($this->_login->getDOM($element->ownerDocument));
     }
     if ($this->_name !== null) {
         $element->appendChild($this->_name->getDOM($element->ownerDocument));
     }
     if ($this->_quota !== null) {
         $element->appendChild($this->_quota->getDOM($element->ownerDocument));
     }
     foreach ($this->_feedLink as $feedLink) {
         $element->appendChild($feedLink->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 16
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_addresses != null) {
         foreach ($this->_addresses as $address) {
             $element->appendChild($address->getDOM($element->ownerDocument));
         }
     }
     if ($this->_categories != null) {
         foreach ($this->_categories as $category) {
             $element->appendChild($category->getDOM($element->ownerDocument));
         }
     }
     if ($this->_emails != null) {
         foreach ($this->_emails as $email) {
             $element->appendChild($email->getDOM($element->ownerDocument));
         }
     }
     if ($this->_extendedProperties != null) {
         foreach ($this->_extendedProperties as $extendedProperty) {
             $element->appendChild($extendedProperty->getDOM($element->ownerDocument));
         }
     }
     if ($this->_ims != null) {
         foreach ($this->_ims as $im) {
             $element->appendChild($im->getDOM($element->ownerDocument));
         }
     }
     if ($this->_name != null) {
         $element->appendChild($this->_name->getDOM($element->ownerDocument));
     }
     if ($this->_notes != null) {
         $element->appendChild($this->_notes->getDOM($element->ownerDocument));
     }
     if ($this->_organization != null) {
         $element->appendChild($this->_organization->getDOM($element->ownerDocument));
     }
     if ($this->_phones != null) {
         foreach ($this->_phones as $phone) {
             $element->appendChild($phone->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 17
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_gphotoTimestamp !== null) {
         $element->appendChild($this->_gphotoTimestamp->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->_gphotoAccess !== null) {
         $element->appendChild($this->_gphotoAccess->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoLocation !== null) {
         $element->appendChild($this->_gphotoLocation->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoName !== null) {
         $element->appendChild($this->_gphotoName->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoNumPhotos !== null) {
         $element->appendChild($this->_gphotoNumPhotos->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoCommentCount !== null) {
         $element->appendChild($this->_gphotoCommentCount->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoCommentingEnabled !== null) {
         $element->appendChild($this->_gphotoCommentingEnabled->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoId !== null) {
         $element->appendChild($this->_gphotoId->getDOM($element->ownerDocument));
     }
     if ($this->_mediaGroup !== null) {
         $element->appendChild($this->_mediaGroup->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 18
0
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_accessLevel != null) {
         $element->appendChild($this->_accessLevel->getDOM($element->ownerDocument));
     }
     if ($this->_color != null) {
         $element->appendChild($this->_color->getDOM($element->ownerDocument));
     }
     if ($this->_hidden != null) {
         $element->appendChild($this->_hidden->getDOM($element->ownerDocument));
     }
     if ($this->_selected != null) {
         $element->appendChild($this->_selected->getDOM($element->ownerDocument));
     }
     if ($this->_webContent != null) {
         $element->appendChild($this->_webContent->getDOM($element->ownerDocument));
     }
     if ($this->_timezone != null) {
         $element->appendChild($this->_timezone->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 19
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_gphotoNickname !== null) {
         $element->appendChild($this->_gphotoNickname->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoThumbnail !== null) {
         $element->appendChild($this->_gphotoThumbnail->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoUser !== null) {
         $element->appendChild($this->_gphotoUser->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoQuotaCurrent !== null) {
         $element->appendChild($this->_gphotoQuotaCurrent->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoQuotaLimit !== null) {
         $element->appendChild($this->_gphotoQuotaLimit->getDOM($element->ownerDocument));
     }
     if ($this->_gphotoMaxPhotosPerAlbum !== null) {
         $element->appendChild($this->_gphotoMaxPhotosPerAlbum->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 20
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for sending to the server upon updates, or
  * for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  * child properties.
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_description != null) {
         $element->appendChild($this->_description->getDOM($element->ownerDocument));
     }
     if ($this->_aboutMe != null) {
         $element->appendChild($this->_aboutMe->getDOM($element->ownerDocument));
     }
     if ($this->_age != null) {
         $element->appendChild($this->_age->getDOM($element->ownerDocument));
     }
     if ($this->_username != null) {
         $element->appendChild($this->_username->getDOM($element->ownerDocument));
     }
     if ($this->_books != null) {
         $element->appendChild($this->_books->getDOM($element->ownerDocument));
     }
     if ($this->_company != null) {
         $element->appendChild($this->_company->getDOM($element->ownerDocument));
     }
     if ($this->_hobbies != null) {
         $element->appendChild($this->_hobbies->getDOM($element->ownerDocument));
     }
     if ($this->_hometown != null) {
         $element->appendChild($this->_hometown->getDOM($element->ownerDocument));
     }
     if ($this->_location != null) {
         $element->appendChild($this->_location->getDOM($element->ownerDocument));
     }
     if ($this->_movies != null) {
         $element->appendChild($this->_movies->getDOM($element->ownerDocument));
     }
     if ($this->_music != null) {
         $element->appendChild($this->_music->getDOM($element->ownerDocument));
     }
     if ($this->_occupation != null) {
         $element->appendChild($this->_occupation->getDOM($element->ownerDocument));
     }
     if ($this->_school != null) {
         $element->appendChild($this->_school->getDOM($element->ownerDocument));
     }
     if ($this->_gender != null) {
         $element->appendChild($this->_gender->getDOM($element->ownerDocument));
     }
     if ($this->_relationship != null) {
         $element->appendChild($this->_relationship->getDOM($element->ownerDocument));
     }
     if ($this->_firstName != null) {
         $element->appendChild($this->_firstName->getDOM($element->ownerDocument));
     }
     if ($this->_lastName != null) {
         $element->appendChild($this->_lastName->getDOM($element->ownerDocument));
     }
     if ($this->_statistics != null) {
         $element->appendChild($this->_statistics->getDOM($element->ownerDocument));
     }
     if ($this->_thumbnail != null) {
         $element->appendChild($this->_thumbnail->getDOM($element->ownerDocument));
     }
     if ($this->_feedLink != null) {
         foreach ($this->_feedLink as $feedLink) {
             $element->appendChild($feedLink->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }
Ejemplo n.º 21
0
 /**
  * Retrieves DOMElement which corresponds to this element and all
  * child properties. This is used to build this object back into a DOM
  * and eventually XML text for sending to the server upon updates, or
  * for application storage/persistance.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  * child properties.
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_creators !== null) {
         foreach ($this->_creators as $creators) {
             $element->appendChild($creators->getDOM($element->ownerDocument));
         }
     }
     if ($this->_dates !== null) {
         foreach ($this->_dates as $dates) {
             $element->appendChild($dates->getDOM($element->ownerDocument));
         }
     }
     if ($this->_descriptions !== null) {
         foreach ($this->_descriptions as $descriptions) {
             $element->appendChild($descriptions->getDOM($element->ownerDocument));
         }
     }
     if ($this->_formats !== null) {
         foreach ($this->_formats as $formats) {
             $element->appendChild($formats->getDOM($element->ownerDocument));
         }
     }
     if ($this->_identifiers !== null) {
         foreach ($this->_identifiers as $identifiers) {
             $element->appendChild($identifiers->getDOM($element->ownerDocument));
         }
     }
     if ($this->_languages !== null) {
         foreach ($this->_languages as $languages) {
             $element->appendChild($languages->getDOM($element->ownerDocument));
         }
     }
     if ($this->_publishers !== null) {
         foreach ($this->_publishers as $publishers) {
             $element->appendChild($publishers->getDOM($element->ownerDocument));
         }
     }
     if ($this->_subjects !== null) {
         foreach ($this->_subjects as $subjects) {
             $element->appendChild($subjects->getDOM($element->ownerDocument));
         }
     }
     if ($this->_titles !== null) {
         foreach ($this->_titles as $titles) {
             $element->appendChild($titles->getDOM($element->ownerDocument));
         }
     }
     if ($this->_comments !== null) {
         $element->appendChild($this->_comments->getDOM($element->ownerDocument));
     }
     if ($this->_embeddability !== null) {
         $element->appendChild($this->_embeddability->getDOM($element->ownerDocument));
     }
     if ($this->_rating !== null) {
         $element->appendChild($this->_rating->getDOM($element->ownerDocument));
     }
     if ($this->_review !== null) {
         $element->appendChild($this->_review->getDOM($element->ownerDocument));
     }
     if ($this->_viewability !== null) {
         $element->appendChild($this->_viewability->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 22
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_emailList !== null) {
         $element->appendChild($this->_emailList->getDOM($element->ownerDocument));
     }
     foreach ($this->_feedLink as $feedLink) {
         $element->appendChild($feedLink->getDOM($element->ownerDocument));
     }
     return $element;
 }
Ejemplo n.º 23
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for application storage/persistence.
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all
  *          child properties.
  */
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     return $element;
 }
Ejemplo n.º 24
0
 /**
  * Retrieves a DOMElement which corresponds to this element and all 
  * child properties.  This is used to build an entry back into a DOM
  * and eventually XML text for sending to the server upon updates, or
  * for application storage/persistence.   
  *
  * @param DOMDocument $doc The DOMDocument used to construct DOMElements
  * @return DOMElement The DOMElement representing this element and all 
  * child properties. 
  */
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_description != null) {
         $element->appendChild($this->_description->getDOM($element->ownerDocument));
     }
     if ($this->_age != null) {
         $element->appendChild($this->_age->getDOM($element->ownerDocument));
     }
     if ($this->_username != null) {
         $element->appendChild($this->_username->getDOM($element->ownerDocument));
     }
     if ($this->_books != null) {
         $element->appendChild($this->_books->getDOM($element->ownerDocument));
     }
     if ($this->_company != null) {
         $element->appendChild($this->_company->getDOM($element->ownerDocument));
     }
     if ($this->_hobbies != null) {
         $element->appendChild($this->_hobbies->getDOM($element->ownerDocument));
     }
     if ($this->_hometown != null) {
         $element->appendChild($this->_hometown->getDOM($element->ownerDocument));
     }
     if ($this->_location != null) {
         $element->appendChild($this->_location->getDOM($element->ownerDocument));
     }
     if ($this->_movies != null) {
         $element->appendChild($this->_movies->getDOM($element->ownerDocument));
     }
     if ($this->_music != null) {
         $element->appendChild($this->_music->getDOM($element->ownerDocument));
     }
     if ($this->_occupation != null) {
         $element->appendChild($this->_occupation->getDOM($element->ownerDocument));
     }
     if ($this->_school != null) {
         $element->appendChild($this->_school->getDOM($element->ownerDocument));
     }
     if ($this->_gender != null) {
         $element->appendChild($this->_gender->getDOM($element->ownerDocument));
     }
     if ($this->_relationship != null) {
         $element->appendChild($this->_relationship->getDOM($element->ownerDocument));
     }
     if ($this->_feedLink != null) {
         foreach ($this->_feedLink as $feedLink) {
             $element->appendChild($feedLink->getDOM($element->ownerDocument));
         }
     }
     return $element;
 }