add keyTypes() for User_greeting_count
This commit is contained in:
parent
d5fb88e1c0
commit
eebc5d0d59
|
@ -105,6 +105,20 @@ class User_greeting_count extends Memcached_DataObject
|
||||||
return array('user_id' => 'K');
|
return array('user_id' => 'K');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* return key definitions for Memcached_DataObject
|
||||||
|
*
|
||||||
|
* Our caching system uses the same key definitions, but uses a different
|
||||||
|
* method to get them.
|
||||||
|
*
|
||||||
|
* @return array key definitions
|
||||||
|
*/
|
||||||
|
|
||||||
|
function keyTypes()
|
||||||
|
{
|
||||||
|
return $this->keys();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Magic formula for non-autoincrementing integer primary keys
|
* Magic formula for non-autoincrementing integer primary keys
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user