2008-12-04 07:26:19 +09:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Table Definition for profile_block
|
|
|
|
*/
|
|
|
|
require_once 'classes/Memcached_DataObject';
|
|
|
|
|
2008-12-08 12:10:08 +09:00
|
|
|
class Profile_block extends Memcached_DataObject
|
2008-12-04 07:26:19 +09:00
|
|
|
{
|
|
|
|
###START_AUTOCODE
|
|
|
|
/* the code below is auto generated do not remove the above tag */
|
|
|
|
|
|
|
|
public $__table = 'profile_block'; // table name
|
|
|
|
public $blocker; // int(4) primary_key not_null
|
|
|
|
public $blocked; // int(4) primary_key not_null
|
|
|
|
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
|
|
|
|
|
|
|
|
/* Static get */
|
|
|
|
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile_block',$k,$v); }
|
|
|
|
|
|
|
|
/* the code above is auto generated do not remove the tag below */
|
|
|
|
###END_AUTOCODE
|
2008-12-08 12:10:08 +09:00
|
|
|
|
2008-12-08 16:29:58 +09:00
|
|
|
function get($blocker, $blocked) {
|
2008-12-08 12:10:08 +09:00
|
|
|
return Profile_block::pkeyGet(array('blocker' => $blocker,
|
|
|
|
'blocked' => $blocked));
|
|
|
|
}
|
2008-12-04 07:26:19 +09:00
|
|
|
}
|