當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Zend_Gdata_Entry::getDOM方法代碼示例

本文整理匯總了PHP中Zend_Gdata_Entry::getDOM方法的典型用法代碼示例。如果您正苦於以下問題:PHP Zend_Gdata_Entry::getDOM方法的具體用法?PHP Zend_Gdata_Entry::getDOM怎麽用?PHP Zend_Gdata_Entry::getDOM使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Zend_Gdata_Entry的用法示例。


在下文中一共展示了Zend_Gdata_Entry::getDOM方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getDOM

 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;
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:28,代碼來源:SubscriptionEntry.php

示例2: getDOM

 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;
 }
開發者ID:thsonvt,項目名稱:sugarcrm_dev,代碼行數:25,代碼來源:ListEntry.php

示例3: getDOM

 public function getDOM($doc = null)
 {
     $element = parent::getDOM($doc);
     if ($this->_where != null) {
         $element->appendChild($this->_where->getDOM($element->ownerDocument));
     }
     return $element;
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:8,代碼來源:Entry.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 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;
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:17,代碼來源:TagEntry.php

示例5: getDOM

 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;
 }
開發者ID:hirentricore,項目名稱:devmagento,代碼行數:8,代碼來源:CellEntry.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 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;
 }
開發者ID:cljk,項目名稱:kimai,代碼行數:17,代碼來源:GroupEntry.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 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;
 }
開發者ID:gauravstomar,項目名稱:Pepool,代碼行數:20,代碼來源:SubscriptionEntry.php

示例8: getDOM

 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;
 }
開發者ID:netconstructor,項目名稱:Centurion,代碼行數:10,代碼來源:ListEntry.php

示例9: getDOM

 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;
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:11,代碼來源:NicknameEntry.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->_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;
 }
開發者ID:dalinhuang,項目名稱:popo,代碼行數:23,代碼來源:PlaylistListEntry.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);
     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;
 }
開發者ID:relue,項目名稱:magento2,代碼行數:22,代碼來源:Entry.php

示例12: getDOM

 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;
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:51,代碼來源:EventEntry.php

示例13: getDOM

 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;
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:14,代碼來源:ActivityEntry.php

示例14: getDOM

 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;
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:17,代碼來源:UserEntry.php

示例15: getDOM

 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;
 }
開發者ID:Bergdahls,項目名稱:YetiForceCRM,代碼行數:44,代碼來源:ListEntry.php


注:本文中的Zend_Gdata_Entry::getDOM方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。