diff options
author | Evan Prodromou <git@evanprodromou.name> | 2009-01-13 00:35:41 -0500 |
---|---|---|
committer | Evan Prodromou <git@evanprodromou.name> | 2009-01-13 00:35:41 -0500 |
commit | bd056218f9a595184ac7bcac0c1dc6a8981d7af2 (patch) | |
tree | d92215819e647287161079e97dcfc46dc15570f0 /classes/User_group.php | |
parent | cfe184872eb70cc20e88965570b3c0d9d3a0a93e (diff) |
Generate new DB_DataObject classes for group tables
Diffstat (limited to 'classes/User_group.php')
-rwxr-xr-x | classes/User_group.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/classes/User_group.php b/classes/User_group.php new file mode 100755 index 000000000..e8aaec744 --- /dev/null +++ b/classes/User_group.php @@ -0,0 +1,31 @@ +<?php +/** + * Table Definition for user_group + */ +require_once 'classes/Memcached_DataObject'; + +class User_group extends Memcached_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'user_group'; // table name + public $id; // int(4) primary_key not_null + public $nickname; // varchar(64) unique_key + public $fullname; // varchar(255) + public $homepage; // varchar(255) + public $description; // varchar(140) + public $location; // varchar(255) + public $original_logo; // varchar(255) + public $homepage_logo; // varchar(255) + public $stream_logo; // varchar(255) + public $mini_logo; // varchar(255) + public $created; // datetime() not_null + public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + + /* Static get */ + function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User_group',$k,$v); } + + /* the code above is auto generated do not remove the tag below */ + ###END_AUTOCODE +} |