3 * Table Definition for profile_block
5 require_once 'classes/Memcached_DataObject';
7 class Profile_block extends Memcached_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'profile_block'; // table name
13 public $blocker; // int(4) primary_key not_null
14 public $blocked; // int(4) primary_key not_null
15 public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
18 function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile_block',$k,$v); }
20 /* the code above is auto generated do not remove the tag below */
23 static function get($blocker, $blocked) {
24 return Profile_block::pkeyGet(array('blocker' => $blocker,
25 'blocked' => $blocked));