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


PHP Zend_Gdata_Entry類代碼示例

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


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

示例1: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('atom') . ':' . 'entry';
             $entry = new Zend_Gdata_Entry();
             $entry->transferFromDOM($child);
             $this->_entry = $entry;
             break;
     default:
         parent::takeChildFromDOM($child);
         break;
     }
 }
開發者ID:nhp,項目名稱:shopware-4,代碼行數:14,代碼來源:EntryLink.php

示例2: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gd') . ':' . 'fullName':
             $entry = new Zend_Gdata_Entry();
             $entry->transferFromDOM($child);
             $this->_names['full_name'] = $entry->getText();
             break;
         case $this->lookupNamespace('gd') . ':' . 'givenName':
             $entry = new Zend_Gdata_Entry();
             $entry->transferFromDOM($child);
             $this->_names['first_name'] = $entry->getText();
             break;
         case $this->lookupNamespace('gd') . ':' . 'familyName':
             $entry = new Zend_Gdata_Entry();
             $entry->transferFromDOM($child);
             $this->_names['last_name'] = $entry->getText();
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:netconstructor,項目名稱:sugarcrm_dev,代碼行數:24,代碼來源:Name.php

示例3: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('apps') . ':' . 'login':
             $login = new Zend_Gdata_Gapps_Extension_Login();
             $login->transferFromDOM($child);
             $this->_login = $login;
             break;
         case $this->lookupNamespace('apps') . ':' . 'name':
             $name = new Zend_Gdata_Gapps_Extension_Name();
             $name->transferFromDOM($child);
             $this->_name = $name;
             break;
         case $this->lookupNamespace('apps') . ':' . 'quota':
             $quota = new Zend_Gdata_Gapps_Extension_Quota();
             $quota->transferFromDOM($child);
             $this->_quota = $quota;
             break;
         case $this->lookupNamespace('gd') . ':' . 'feedLink':
             $feedLink = new Zend_Gdata_Extension_FeedLink();
             $feedLink->transferFromDOM($child);
             $this->_feedLink[] = $feedLink;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:29,代碼來源:UserEntry.php

示例4: __construct

 /**
  * Create a new instance of an entry representing a document.
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     foreach (Zend_Gdata_Docs::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct($element);
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:13,代碼來源:DocumentListEntry.php

示例5: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('yt') . ':' . 'description':
             $description = new Zend_Gdata_YouTube_Extension_Description();
             $description->transferFromDOM($child);
             $this->_description = $description;
             break;
         case $this->lookupNamespace('yt') . ':' . 'countHint':
             $countHint = new Zend_Gdata_YouTube_Extension_CountHint();
             $countHint->transferFromDOM($child);
             $this->_countHint = $countHint;
             break;
         case $this->lookupNamespace('yt') . ':' . 'playlistId':
             $playlistId = new Zend_Gdata_YouTube_Extension_PlaylistId();
             $playlistId->transferFromDOM($child);
             $this->_playlistId = $playlistId;
             break;
         case $this->lookupNamespace('gd') . ':' . 'feedLink':
             $feedLink = new Zend_Gdata_Extension_FeedLink();
             $feedLink->transferFromDOM($child);
             $this->_feedLink[] = $feedLink;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:29,代碼來源:PlaylistListEntry.php

示例6: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     if (strstr($absoluteNodeName, $this->lookupNamespace('g') . ':')) {
         $baseAttribute = new Zend_Gdata_Gbase_Extension_BaseAttribute();
         $baseAttribute->transferFromDOM($child);
         $this->_baseAttributes[] = $baseAttribute;
     } else {
         parent::takeChildFromDOM($child);
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:11,代碼來源:Entry.php

示例7: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     if (strstr($absoluteNodeName, $this->lookupNamespace('ccr') . ':')) {
         $ccrElement = new Zend_Gdata_Health_Extension_Ccr();
         $ccrElement->transferFromDOM($child);
         $this->_ccrData = $ccrElement;
     } else {
         parent::takeChildFromDOM($child);
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:11,代碼來源:ProfileEntry.php

示例8: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     switch ($child->namespaceURI) {
         case $this->lookupNamespace('gsx'):
             $custom = new Zend_Gdata_Spreadsheets_Extension_Custom($child->localName);
             $custom->transferFromDOM($child);
             $this->addCustom($custom);
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:netconstructor,項目名稱:Centurion,代碼行數:13,代碼來源:ListEntry.php

示例9: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gphoto') . ':' . 'weight':
             $weight = new Zend_Gdata_Photos_Extension_Weight();
             $weight->transferFromDOM($child);
             $this->_gphotoWeight = $weight;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:14,代碼來源:TagEntry.php

示例10: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gs') . ':' . 'cell':
             $cell = new Zend_Gdata_Spreadsheets_Extension_Cell();
             $cell->transferFromDOM($child);
             $this->_cell = $cell;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hirentricore,項目名稱:devmagento,代碼行數:14,代碼來源:CellEntry.php

示例11: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gd') . ':' . 'who':
             $who = new Zend_Gdata_Extension_Who();
             $who->transferFromDOM($child);
             $this->_who = $who;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:14,代碼來源:EmailListRecipientEntry.php

示例12: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('georss') . ':' . 'where':
             $where = new Zend_Gdata_Geo_Extension_GeoRssWhere();
             $where->transferFromDOM($child);
             $this->_where = $where;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:netvlies,項目名稱:zf,代碼行數:14,代碼來源:Entry.php

示例13: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gphoto') . ':' . 'id':
             $id = new Zend_Gdata_Photos_Extension_Id();
             $id->transferFromDOM($child);
             $this->_gphotoId = $id;
             break;
         case $this->lookupNamespace('gphoto') . ':' . 'photoid':
             $photoid = new Zend_Gdata_Photos_Extension_PhotoId();
             $photoid->transferFromDOM($child);
             $this->_gphotoPhotoId = $photoid;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:hackingman,項目名稱:TubeX,代碼行數:19,代碼來源:CommentEntry.php

示例14: takeChildFromDOM

 /**
  * @param DOMElement $child
  * @return void
  */
 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('ga') . ':' . 'property':
             $property = new HCMS_Gdata_Analytics_Extension_Property();
             $property->transferFromDOM($child);
             $this->{$property->getName()} = $property;
             break;
         case $this->lookupNamespace('ga') . ':' . 'tableId':
             $tableId = new HCMS_Gdata_Analytics_Extension_TableId();
             $tableId->transferFromDOM($child);
             $this->_tableId = $tableId;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:bokultis,項目名稱:kardiomedika,代碼行數:23,代碼來源:AccountEntry.php

示例15: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gs') . ':' . 'rowCount':
             $rowCount = new Zend_Gdata_Spreadsheets_Extension_RowCount();
             $rowCount->transferFromDOM($child);
             $this->_rowCount = $rowCount;
             break;
         case $this->lookupNamespace('gs') . ':' . 'colCount':
             $colCount = new Zend_Gdata_Spreadsheets_Extension_ColCount();
             $colCount->transferFromDOM($child);
             $this->_colCount = $colCount;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
開發者ID:omusico,項目名稱:sugar_work,代碼行數:19,代碼來源:WorksheetEntry.php


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