From 1d4f1f6bf6bd8313cbb51dbf61d675408171d1b8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 6 May 2008 11:17:29 -0400 Subject: add standard directories Added some of the standard directories darcs-hash:20080506151729-84dde-563da8505e06a7302041c93ab157ced31165876c.gz --- _darcs/pristine/classes/Profile_block.php | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 _darcs/pristine/classes/Profile_block.php (limited to '_darcs/pristine/classes/Profile_block.php') diff --git a/_darcs/pristine/classes/Profile_block.php b/_darcs/pristine/classes/Profile_block.php new file mode 100644 index 000000000..6ea26a3bc --- /dev/null +++ b/_darcs/pristine/classes/Profile_block.php @@ -0,0 +1,49 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +/** + * Table Definition for profile_block + */ + +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; + +class Profile_block extends Memcached_DataObject +{ + ###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 + + function get($blocker, $blocked) { + return Memcached_DataObject::pkeyGet('Profile_block', + array('blocker' => $blocker, + 'blocked' => $blocked)); + } +} -- cgit v1.2.3-54-g00ecf