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


PHP Zend_Gdata_App_Extension::getDOM方法代码示例

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


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

示例1: getDOM

 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_draft != null) {
         $element->appendChild($this->_draft->getDOM($element->ownerDocument));
     }
     return $element;
 }
开发者ID:vojtajina,项目名称:sitellite,代码行数:8,代码来源:Control.php

示例2: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_type !== null) {
         $element->setAttribute('type', $this->_type);
     }
     return $element;
 }
开发者ID:beingsane,项目名称:Zend_Framework_for_Joomla,代码行数:8,代码来源:Text.php

示例3: getDOM

 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_type != null) {
         $element->setAttribute('type', $this->_type);
     }
     return $element;
 }
开发者ID:jorgenils,项目名称:zend-framework,代码行数:8,代码来源:Text.php

示例4: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_draft != null) {
         $element->appendChild($this->_draft->getDOM($element->ownerDocument));
     }
     return $element;
 }
开发者ID:ramonornela,项目名称:Zebra,代码行数:8,代码来源:Control.php

示例5: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_uri !== null) {
         $element->setAttribute('uri', $this->_uri);
     }
     if ($this->_version !== null) {
         $element->setAttribute('version', $this->_version);
     }
     return $element;
 }
开发者ID:chucky515,项目名称:Magento-CE-Mirror,代码行数:11,代码来源:Generator.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->url != null) {
         $element->setAttribute('url', $this->_url);
     }
     if ($this->height != null) {
         $element->setAttribute('height', $this->_height);
     }
     if ($this->width != null) {
         $element->setAttribute('width', $this->_width);
     }
     return $element;
 }
开发者ID:SalesOneGit,项目名称:s1_magento,代码行数:24,代码来源:WebContent.php

示例7: getDOM

 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_term != null) {
         $element->setAttribute('term', $this->_term);
     }
     if ($this->_scheme != null) {
         $element->setAttribute('scheme', $this->_scheme);
     }
     if ($this->_label != null) {
         $element->setAttribute('label', $this->_label);
     }
     return $element;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:14,代码来源:Category.php

示例8: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_term !== null) {
         $element->setAttribute('term', $this->_term);
     }
     if ($this->_scheme !== null) {
         $element->setAttribute('scheme', $this->_scheme);
     }
     if ($this->_label !== null) {
         $element->setAttribute('label', $this->_label);
     }
     return $element;
 }
开发者ID:sepano,项目名称:open-social-media-monitoring,代码行数:14,代码来源:Category.php

示例9: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_name != null) {
         $element->appendChild($this->_name->getDOM($element->ownerDocument));
     }
     if ($this->_email != null) {
         $element->appendChild($this->_email->getDOM($element->ownerDocument));
     }
     if ($this->_uri != null) {
         $element->appendChild($this->_uri->getDOM($element->ownerDocument));
     }
     return $element;
 }
开发者ID:fredcido,项目名称:simuweb,代码行数:14,代码来源:Person.php

示例10: getDOM

 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
 {
     $element = parent::getDOM($doc, $majorVersion, $minorVersion);
     if ($this->_href !== null) {
         $element->setAttribute('href', $this->_href);
     }
     if ($this->_rel !== null) {
         $element->setAttribute('rel', $this->_rel);
     }
     if ($this->_type !== null) {
         $element->setAttribute('type', $this->_type);
     }
     if ($this->_hrefLang !== null) {
         $element->setAttribute('hreflang', $this->_hrefLang);
     }
     if ($this->_title !== null) {
         $element->setAttribute('title', $this->_title);
     }
     if ($this->_length !== null) {
         $element->setAttribute('length', $this->_length);
     }
     return $element;
 }
开发者ID:Yaoming9,项目名称:Projet-Web-PhP,代码行数:23,代码来源:Link.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 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);
     return $element;
 }
开发者ID:crodriguezn,项目名称:crossfit-milagro,代码行数:15,代码来源:Token.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)
 {
     $element = parent::getDOM($doc);
     return $element;
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:15,代码来源:Token.php


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