Generate new DB_DataObject classes for group tables

This commit is contained in:
Evan Prodromou 2009-01-13 00:35:41 -05:00
parent cfe184872e
commit bd056218f9
5 changed files with 145 additions and 0 deletions

22
classes/Group_inbox.php Executable file
View File

@ -0,0 +1,22 @@
<?php
/**
* Table Definition for group_inbox
*/
require_once 'classes/Memcached_DataObject';
class Group_inbox extends Memcached_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
public $__table = 'group_inbox'; // table name
public $group_id; // int(4) primary_key not_null
public $notice_id; // int(4) primary_key not_null
public $created; // datetime() not_null
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Group_inbox',$k,$v); }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
}

24
classes/Group_member.php Executable file
View File

@ -0,0 +1,24 @@
<?php
/**
* Table Definition for group_member
*/
require_once 'classes/Memcached_DataObject';
class Group_member extends Memcached_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
public $__table = 'group_member'; // table name
public $group_id; // int(4) primary_key not_null
public $profile_id; // int(4) primary_key not_null
public $is_admin; // tinyint(1)
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Group_member',$k,$v); }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
}

22
classes/Related_group.php Executable file
View File

@ -0,0 +1,22 @@
<?php
/**
* Table Definition for related_group
*/
require_once 'classes/Memcached_DataObject';
class Related_group extends Memcached_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
public $__table = 'related_group'; // table name
public $group_id; // int(4) primary_key not_null
public $related_group_id; // int(4) primary_key not_null
public $created; // datetime() not_null
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Related_group',$k,$v); }
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
}

31
classes/User_group.php Executable file
View File

@ -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
}

46
classes/laconica.ini Normal file → Executable file
View File

@ -98,6 +98,26 @@ id = K
service = K service = K
uri = U uri = U
[group_inbox]
group_id = 129
notice_id = 129
created = 142
[group_inbox__keys]
group_id = K
notice_id = K
[group_member]
group_id = 129
profile_id = 129
is_admin = 17
created = 142
modified = 384
[group_member__keys]
group_id = K
profile_id = K
[invitation] [invitation]
code = 130 code = 130
user_id = 129 user_id = 129
@ -225,6 +245,15 @@ claimed = 14
notice_id = K notice_id = K
transport = K transport = K
[related_group]
group_id = 129
related_group_id = 129
created = 142
[related_group__keys]
group_id = K
related_group_id = K
[remember_me] [remember_me]
code = 130 code = 130
user_id = 129 user_id = 129
@ -332,6 +361,23 @@ jabber = U
sms = U sms = U
uri = U uri = U
[user_group]
id = 129
nickname = 2
fullname = 2
homepage = 2
description = 2
location = 2
original_logo = 2
homepage_logo = 2
stream_logo = 2
mini_logo = 2
created = 142
modified = 384
[user_group__keys]
id = N
[user_openid] [user_openid]
canonical = 130 canonical = 130
display = 130 display = 130