예제 #1
0
 /**
  * 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);
 }
 function pkeyGet($k)
 {
     return Memcached_DataObject::pkeyGet('Group_join_queue', $k);
 }
 /**
  * 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);
 }
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('User_openid_trustroot', $kv);
 }
예제 #5
0
 /**
  * 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('Bookmark', $kv);
 }
예제 #6
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Profile_tag', $kv);
 }
 /**
  * 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);
 }
예제 #8
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Group_inbox', $kv);
 }
예제 #9
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Task_Grader', $kv);
 }
예제 #10
0
 function get($blocker, $blocked)
 {
     return Memcached_DataObject::pkeyGet('Profile_block', array('blocker' => $blocker, 'blocked' => $blocked));
 }
예제 #11
0
파일: Grades.php 프로젝트: Grasia/bolotweet
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Grades', $kv);
 }
예제 #12
0
 public function pkeyGet($v)
 {
     return parent::pkeyGet(__CLASS__, $v);
 }
예제 #13
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Status_network_tag', $kv);
 }
예제 #14
0
파일: Avatar.php 프로젝트: Br3nda/laconica
 function &pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Avatar', $kv);
 }
예제 #15
0
 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);
 }
예제 #16
0
 /**
  * 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);
 }
예제 #17
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('User_im_prefs', $kv);
 }
예제 #18
0
 function &pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Subscription', $kv);
 }
예제 #19
0
파일: Config.php 프로젝트: himmelex/NTW
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Config', $kv);
 }
예제 #20
0
파일: Fave.php 프로젝트: Br3nda/StatusNet
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Fave', $kv);
 }
예제 #21
0
 /**
  * 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);
 }
예제 #22
0
 function pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('File_to_post', $kv);
 }
예제 #23
0
 function pkeyGet($k)
 {
     return Memcached_DataObject::pkeyGet('Subscription_queue', $k);
 }
예제 #24
0
 function &pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Notice_tag', $kv);
 }
예제 #25
0
 function &pkeyGet($kv)
 {
     return Memcached_DataObject::pkeyGet('Group_block', $kv);
 }