當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。