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


PHP Memcached_DataObject::pkeyGet方法代码示例

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


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

示例1: pkeyGet

 /**
  * Get an instance by compound key
  *
  * This is a utility method to get a single instance with a given set of
  * key-value pairs. Usually used for the primary key for a compound key; thus
  * the name.
  *
  * @param array $kv array of key-value mappings
  *
  * @return Bookmark object found, or null for no hits
  *
  */
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Poll_response', $kv);
 }
开发者ID:Grasia,项目名称:bolotweet,代码行数:16,代码来源:Poll_response.php

示例2: pkeyGet

 function pkeyGet($k)
 {
     return Memcached_DataObject::pkeyGet('Group_join_queue', $k);
 }
开发者ID:jianoll,项目名称:SpeakEnglish_Server,代码行数:4,代码来源:Group_join_queue.php

示例3: pkeyGet

 /**
  * Get a single object with multiple keys
  *
  * @param array $kv Map of key-value pairs
  *
  * @return User_flag_profile found object or null
  */
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('User_flag_profile', $kv);
 }
开发者ID:sukhjindersingh,项目名称:PHInest-Solutions,代码行数:11,代码来源:User_flag_profile.php

示例4: pkeyGet

 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('User_openid_trustroot', $kv);
 }
开发者ID:sukhjindersingh,项目名称:PHInest-Solutions,代码行数:4,代码来源:User_openid_trustroot.php

示例5: pkeyGet

 /**
  * Get an instance by compound primary key
  *
  * @param array $kv key-value pair array
  *
  * @return Twitter_synch_status object found, or null for no hits
  *
  */
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Twitter_synch_status', $kv);
 }
开发者ID:microcosmx,项目名称:experiments,代码行数:12,代码来源:Twitter_synch_status.php

示例6: get

 function get($blocker, $blocked)
 {
     return Memcached_DataObject::pkeyGet('Profile_block', array('blocker' => $blocker, 'blocked' => $blocked));
 }
开发者ID:himmelex,项目名称:NTW,代码行数:4,代码来源:Profile_block.php

示例7: pkeyGet

 public function pkeyGet($v)
 {
     return parent::pkeyGet(__CLASS__, $v);
 }
开发者ID:Br3nda,项目名称:statusnet-debian,代码行数:4,代码来源:SubMirror.php

示例8:

 function &pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Avatar', $kv);
 }
开发者ID:Br3nda,项目名称:laconica,代码行数:4,代码来源:Avatar.php

示例9: hasRepeated

 function hasRepeated($notice_id)
 {
     // XXX: not really a pkey, but should work
     $notice = Memcached_DataObject::pkeyGet('Notice', array('profile_id' => $this->id, 'repeat_of' => $notice_id));
     return !empty($notice);
 }
开发者ID:microcosmx,项目名称:experiments,代码行数:6,代码来源:Profile.php

示例10: pkeyGet

 /**
  * Get an instance by compound key
  *
  * This is a utility method to get a single instance with a given set of
  * key-value pairs. Usually used for the primary key for a compound key; thus
  * the name.
  *
  * @param array $kv array of key-value mappings
  *
  * @return QnA_Vote object found, or null for no hits
  *
  */
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('QnA_Vote', $kv);
 }
开发者ID:Grasia,项目名称:bolotweet,代码行数:16,代码来源:QnA_Vote.php

示例11: pkeyGet

 /**
  * Get an instance by compound key
  *
  * This is a utility method to get a single instance with a given set of
  * key-value pairs. Usually used for the primary key for a compound key; thus
  * the name.
  *
  * @param array $kv array of key-value mappings
  *
  * @return SearchSub object found, or null for no hits
  *
  */
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('SearchSub', $kv);
 }
开发者ID:harriewang,项目名称:InnertieWebsite,代码行数:16,代码来源:SearchSub.php


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