当前位置: 首页>>代码示例>>PHP>>正文


PHP Zend_Gdata_Extension::getDOM方法代码示例

本文整理汇总了PHP中Zend_Gdata_Extension::getDOM方法的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Gdata_Extension::getDOM方法的具体用法?PHP Zend_Gdata_Extension::getDOM怎么用?PHP Zend_Gdata_Extension::getDOM使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Zend_Gdata_Extension的用法示例。


在下文中一共展示了Zend_Gdata_Extension::getDOM方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getDOM

 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;
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:35,代码来源:Tags.php

示例2: getDOM

 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;
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:26,代码来源:Login.php

示例3: getDOM

 /**
  * 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;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:18,代码来源:MediaCopyright.php

示例4: getDOM

 /**
  * 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;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:18,代码来源:Quota.php

示例5: getDOM

 /**
  * 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;
 }
开发者ID:dalinhuang,项目名称:popo,代码行数:18,代码来源:Duration.php

示例6: getDOM

 /**
  * 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;
 }
开发者ID:netconstructor,项目名称:Centurion,代码行数:18,代码来源:SendEventNotifications.php

示例7: getDOM

 /**
  * 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;
 }
开发者ID:dalinhuang,项目名称:popo,代码行数:17,代码来源:GmlPoint.php

示例8: getDOM

 /**
  * 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;
 }
开发者ID:VUW-SIM-FIS,项目名称:emiemi,代码行数:18,代码来源:Racy.php

示例9: getDOM

 /**
  * 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;
 }
开发者ID:dalinhuang,项目名称:popo,代码行数:18,代码来源:AttendeeStatus.php

示例10: getDOM

 /**
  * 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;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:18,代码来源:MediaHash.php

示例11: getDOM

 /**
  * 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;
 }
开发者ID:evgeniarudoman,项目名称:magento-ce-1.9,代码行数:17,代码来源:GeoRssWhere.php

示例12: getDOM

 /**
  * 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;
 }
开发者ID:DBezemer,项目名称:server,代码行数:21,代码来源:Access.php

示例13: getDOM

 /**
  * 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;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:21,代码来源:Statistics.php

示例14: getDOM

 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;
 }
开发者ID:jorgenils,项目名称:zend-framework,代码行数:11,代码来源:OriginalEvent.php

示例15: getDOM

 /**
  * 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;
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:21,代码来源:Statistics.php


注:本文中的Zend_Gdata_Extension::getDOM方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。