add keyTypes() for User_greeting_count

This commit is contained in:
Evan Prodromou 2010-01-03 11:27:09 -10:00
parent d5fb88e1c0
commit eebc5d0d59
1 changed files with 14 additions and 0 deletions

View File

@ -105,6 +105,20 @@ class User_greeting_count extends Memcached_DataObject
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
*