Beispiel #1
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_distance !== null) {
         $element->appendChild($this->_distance->getDOM($element->ownerDocument));
     }
     if ($this->_exposure !== null) {
         $element->appendChild($this->_exposure->getDOM($element->ownerDocument));
     }
     if ($this->_flash !== null) {
         $element->appendChild($this->_flash->getDOM($element->ownerDocument));
     }
     if ($this->_focalLength !== null) {
         $element->appendChild($this->_focalLength->getDOM($element->ownerDocument));
     }
     if ($this->_fStop !== null) {
         $element->appendChild($this->_fStop->getDOM($element->ownerDocument));
     }
     if ($this->_imageUniqueId !== null) {
         $element->appendChild($this->_imageUniqueId->getDOM($element->ownerDocument));
     }
     if ($this->_iso !== null) {
         $element->appendChild($this->_iso->getDOM($element->ownerDocument));
     }
     if ($this->_make !== null) {
         $element->appendChild($this->_make->getDOM($element->ownerDocument));
     }
     if ($this->_model !== null) {
         $element->appendChild($this->_model->getDOM($element->ownerDocument));
     }
     if ($this->_time !== null) {
         $element->appendChild($this->_time->getDOM($element->ownerDocument));
     }
     return $element;
 }
Beispiel #2
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_username !== null) {
         $element->setAttribute('userName', $this->_username);
     }
     if ($this->_password !== null) {
         $element->setAttribute('password', $this->_password);
     }
     if ($this->_hashFunctionName !== null) {
         $element->setAttribute('hashFunctionName', $this->_hashFunctionName);
     }
     if ($this->_admin !== null) {
         $element->setAttribute('admin', $this->_admin ? "true" : "false");
     }
     if ($this->_agreedToTerms !== null) {
         $element->setAttribute('agreedToTerms', $this->_agreedToTerms ? "true" : "false");
     }
     if ($this->_suspended !== null) {
         $element->setAttribute('suspended', $this->_suspended ? "true" : "false");
     }
     if ($this->_changePasswordAtNextLogin !== null) {
         $element->setAttribute('changePasswordAtNextLogin', $this->_changePasswordAtNextLogin ? "true" : "false");
     }
     return $element;
 }
Beispiel #3
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->_url != null) {
         $element->setAttribute('url', $this->_url);
     }
     return $element;
 }
Beispiel #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 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->_limit !== null) {
         $element->setAttribute('limit', $this->_limit);
     }
     return $element;
 }
Beispiel #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 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->_seconds !== null) {
         $element->setAttribute('seconds', $this->_seconds);
     }
     return $element;
 }
 /**
  * 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->_value !== null) {
         $element->setAttribute('value', $this->_value ? "true" : "false");
     }
     return $element;
 }
Beispiel #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)
 {
     $element = parent::getDOM($doc);
     if ($this->_pos !== null) {
         $element->appendChild($this->_pos->getDOM($element->ownerDocument));
     }
     return $element;
 }
Beispiel #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->_state !== null) {
         $element->setAttribute('state', $this->_state);
     }
     return $element;
 }
Beispiel #9
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->_value !== null) {
         $element->setAttribute('value', $this->_value);
     }
     return $element;
 }
Beispiel #10
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->_algo != null) {
         $element->setAttribute('algo', $this->_algo);
     }
     return $element;
 }
 /**
  * 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);
     if ($this->_point !== null) {
         $element->appendChild($this->_point->getDOM($element->ownerDocument));
     }
     return $element;
 }
Beispiel #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 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->_action !== null) {
         $element->setAttribute('action', $this->_action);
     }
     if ($this->_permission !== null) {
         $element->setAttribute('permission', $this->_permission);
     }
     return $element;
 }
Beispiel #13
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->_viewCount !== null) {
         $element->setAttribute('viewCount', $this->_viewCount);
     }
     if ($this->_watchCount !== null) {
         $element->setAttribute('watchCount', $this->_watchCount);
     }
     return $element;
 }
 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_id != null) {
         $element->setAttribute('id', $this->_id);
     }
     if ($this->_href != null) {
         $element->setAttribute('href', $this->_href);
     }
     return $element;
 }
Beispiel #15
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->_viewCount !== null) {
         $element->setAttribute('viewCount', $this->_viewCount);
     }
     if ($this->_watchCount !== null) {
         $element->setAttribute('watchCount', $this->_watchCount);
     }
     return $element;
 }
Beispiel #16
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->_familyName !== null) {
         $element->setAttribute('familyName', $this->_familyName);
     }
     if ($this->_givenName !== null) {
         $element->setAttribute('givenName', $this->_givenName);
     }
     return $element;
 }
Beispiel #17
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->_scheme != null) {
         $element->setAttribute('scheme', $this->_scheme);
     }
     if ($this->_label != null) {
         $element->setAttribute('label', $this->_label);
     }
     return $element;
 }
Beispiel #18
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->_familyName !== null) {
         $element->setAttribute('familyName', $this->_familyName);
     }
     if ($this->_givenName !== null) {
         $element->setAttribute('givenName', $this->_givenName);
     }
     return $element;
 }
Beispiel #19
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->_relationship != null) {
         $element->setAttribute('relationship', $this->_relationship);
     }
     if ($this->_type != null) {
         $element->setAttribute('type', $this->_type);
     }
     return $element;
 }
Beispiel #20
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_rel !== null) {
         $element->setAttribute('rel', $this->_rel);
     }
     if ($this->_feedLink !== null) {
         $element->appendChild($this->_feedLink->getDOM($element->ownerDocument));
     }
     return $element;
 }
 /**
  * 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->_scheme !== null) {
         $element->setAttribute('scheme', $this->_scheme);
     }
     if ($this->_label !== null) {
         $element->setAttribute('label', $this->_label);
     }
     return $element;
 }
 /**
  * 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->_lang !== null) {
         $element->setAttribute('lang', $this->_lang);
     }
     if ($this->_type !== null) {
         $element->setAttribute('type', $this->_type);
     }
     return $element;
 }
 /**
  * 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->_relationship !== null) {
         $element->setAttribute('relationship', $this->_relationship);
     }
     if ($this->_type !== null) {
         $element->setAttribute('type', $this->_type);
     }
     return $element;
 }
Beispiel #24
0
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     $element->setAttribute('row', $this->_row);
     $element->setAttribute('col', $this->_col);
     if ($this->_inputValue) {
         $element->setAttribute('inputValue', $this->_inputValue);
     }
     if ($this->_numericValue) {
         $element->setAttribute('numericValue', $this->_numericValue);
     }
     return $element;
 }
Beispiel #25
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->_url != null) {
         $element->setAttribute('url', $this->_url);
     }
     if ($this->_width != null) {
         $element->setAttribute('width', $this->_width);
     }
     if ($this->_height != null) {
         $element->setAttribute('height', $this->_height);
     }
     return $element;
 }
Beispiel #26
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->_role !== null) {
         $element->setAttribute('role', $this->_role);
     }
     if ($this->_scheme !== null) {
         $element->setAttribute('scheme', $this->_scheme);
     }
     if ($this->_yttype !== null) {
         $element->setAttributeNS('http://gdata.youtube.com/schemas/2007', 'yt:type', $this->_yttype);
     }
     return $element;
 }
Beispiel #27
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->_url !== null) {
         $element->setAttribute('url', $this->_url);
     }
     if ($this->_width !== null) {
         $element->setAttribute('width', $this->_width);
     }
     if ($this->_height !== null) {
         $element->setAttribute('height', $this->_height);
     }
     return $element;
 }
 /**
  * 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->_specialized !== null) {
         $element->setAttribute('specialized', $this->_specialized ? "true" : "false");
     }
     if ($this->_entryLink !== null) {
         $element->appendChild($this->_entryLink->getDOM($element->ownerDocument));
     }
     if ($this->_originalEvent !== null) {
         $element->appendChild($this->_originalEvent->getDOM($element->ownerDocument));
     }
     return $element;
 }
Beispiel #29
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->_name !== null) {
         $element->setAttribute('name', $this->_name);
     }
     if ($this->_reasonCode !== null) {
         $element->setAttribute('reasonCode', $this->_reasonCode);
     }
     if ($this->_helpUrl !== null) {
         $element->setAttribute('helpUrl', $this->_helpUrl);
     }
     return $element;
 }
 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_id !== null) {
         $element->setAttribute('id', $this->_id);
     }
     if ($this->_href !== null) {
         $element->setAttribute('href', $this->_href);
     }
     if ($this->_when !== null) {
         $element->appendChild($this->_when->getDOM($element->ownerDocument));
     }
     return $element;
 }