• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Zend_Gdata_Entry类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



在下文中一共展示了Zend_Gdata_Entry类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('apps') . ':' . 'emailList':
             $emailList = new Zend_Gdata_Gapps_Extension_EmailList();
             $emailList->transferFromDOM($child);
             $this->_emailList = $emailList;
             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,代码行数:19,代码来源:EmailListEntry.php


示例17: 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') . ':' . 'nickname':
             $nickname = new Zend_Gdata_Gapps_Extension_Nickname();
             $nickname->transferFromDOM($child);
             $this->_nickname = $nickname;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:19,代码来源:NicknameEntry.php


示例18: takeChildFromDOM

 /**
  * @param DOMElement $child
  * @return void
  */
 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('analytics') . ':' . 'dimension':
             $dimension = new Zend_Gdata_Analytics_Extension_Dimension();
             $dimension->transferFromDOM($child);
             $this->_dimensions[] = $dimension;
             break;
         case $this->lookupNamespace('analytics') . ':' . 'metric':
             $metric = new Zend_Gdata_Analytics_Extension_Metric();
             $metric->transferFromDOM($child);
             $this->_metrics[] = $metric;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
开发者ID:alanaipe2015,项目名称:moodle,代码行数:23,代码来源:DataEntry.php


示例19: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('gCal') . ':' . 'accesslevel':
             $accessLevel = new Zend_Gdata_Calendar_Extension_AccessLevel();
             $accessLevel->transferFromDOM($child);
             $this->_accessLevel = $accessLevel;
             break;
         case $this->lookupNamespace('gCal') . ':' . 'color':
             $color = new Zend_Gdata_Calendar_Extension_Color();
             $color->transferFromDOM($child);
             $this->_color = $color;
             break;
         case $this->lookupNamespace('gCal') . ':' . 'hidden':
             $hidden = new Zend_Gdata_Calendar_Extension_Hidden();
             $hidden->transferFromDOM($child);
             $this->_hidden = $hidden;
             break;
         case $this->lookupNamespace('gCal') . ':' . 'selected':
             $selected = new Zend_Gdata_Calendar_Extension_Selected();
             $selected->transferFromDOM($child);
             $this->_selected = $selected;
             break;
         case $this->lookupNamespace('gCal') . ':' . 'timezone':
             $timezone = new Zend_Gdata_Calendar_Extension_Timezone();
             $timezone->transferFromDOM($child);
             $this->_timezone = $timezone;
             break;
         case $this->lookupNamespace('gd') . ':' . 'where':
             $where = new Zend_Gdata_Extension_Where();
             $where->transferFromDOM($child);
             $this->_where[] = $where;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:39,代码来源:ListEntry.php


示例20: takeChildFromDOM

 protected function takeChildFromDOM($child)
 {
     $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
     switch ($absoluteNodeName) {
         case $this->lookupNamespace('yt') . ':' . 'videoid':
             $videoId = new Zend_Gdata_YouTube_Extension_VideoId();
             $videoId->transferFromDOM($child);
             $this->_videoId = $videoId;
             break;
         case $this->lookupNamespace('yt') . ':' . 'username':
             $username = new Zend_Gdata_YouTube_Extension_Username();
             $username->transferFromDOM($child);
             $this->_username = $username;
             break;
         case $this->lookupNamespace('gd') . ':' . 'rating':
             $rating = new Zend_Gdata_Extension_Rating();
             $rating->transferFromDOM($child);
             $this->_rating = $rating;
             break;
         default:
             parent::takeChildFromDOM($child);
             break;
     }
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:24,代码来源:ActivityEntry.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Zend_Gdata_Exif_Extension_Tags类代码示例发布时间:2022-05-23
下一篇:
PHP Zend_Gdata_ClientLogin类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap