diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 12:06:22 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 12:06:22 -0700 |
commit | 85b74d846dda8781c7e713b403c1229124480d12 (patch) | |
tree | 7cebc7a02014804efa72b1fec93e4d1bc7d5a115 | |
parent | 754b610ac4e4478cd36e5826f6bbfcad0531b7aa (diff) |
create DB_DataObject classes for group block
-rwxr-xr-x | classes/Group_block.php | 23 | ||||
-rwxr-xr-x[-rw-r--r--] | classes/laconica.ini | 11 |
2 files changed, 34 insertions, 0 deletions
diff --git a/classes/Group_block.php b/classes/Group_block.php new file mode 100755 index 000000000..437046a9c --- /dev/null +++ b/classes/Group_block.php @@ -0,0 +1,23 @@ +<?php +/** + * Table Definition for group_block + */ +require_once 'classes/Memcached_DataObject'; + +class Group_block extends Memcached_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'group_block'; // table name + public $group_id; // int(4) primary_key not_null + public $blocked; // int(4) primary_key not_null + public $blocker; // int(4) not_null + public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + + /* Static get */ + function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Group_block',$k,$v); } + + /* the code above is auto generated do not remove the tag below */ + ###END_AUTOCODE +} diff --git a/classes/laconica.ini b/classes/laconica.ini index 92bbb35d4..8e4e78b79 100644..100755 --- a/classes/laconica.ini +++ b/classes/laconica.ini @@ -1,3 +1,4 @@ + [avatar] profile_id = 129 original = 17 @@ -157,6 +158,16 @@ id = K service = K uri = U +[group_block] +group_id = 129 +blocked = 129 +blocker = 129 +modified = 384 + +[group_block__keys] +group_id = K +blocked = K + [group_inbox] group_id = 129 notice_id = 129 |