diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-06 18:38:39 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-06 18:38:39 -0400 |
commit | 7231c58e22c0839b692bea6dd6f39d6a9dcdb823 (patch) | |
tree | 2c0a489f214d6de49b80228fda2f37055ec40506 /classes | |
parent | ab3e1556baf5b384272323b03643bad6aa0ddc1b (diff) |
some twiddles in the db for replies, plus the class
darcs-hash:20080706223839-84dde-269eba758843e45265a08379356cdfd84701e2cd.gz
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Reply.php | 23 | ||||
-rw-r--r-- | classes/stoica.ini | 10 |
2 files changed, 33 insertions, 0 deletions
diff --git a/classes/Reply.php b/classes/Reply.php new file mode 100644 index 000000000..8b341b1c7 --- /dev/null +++ b/classes/Reply.php @@ -0,0 +1,23 @@ +<?php +/** + * Table Definition for reply + */ +require_once 'DB/DataObject.php'; + +class Reply extends DB_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'reply'; // table name + public $notice_id; // int(4) primary_key not_null + public $profile_id; // int(4) primary_key not_null + public $replied_id; // int(4) + public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + + /* Static get */ + function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Reply',$k,$v); } + + /* the code above is auto generated do not remove the tag below */ + ###END_AUTOCODE +} diff --git a/classes/stoica.ini b/classes/stoica.ini index 67992ea7f..1ceaab80e 100644 --- a/classes/stoica.ini +++ b/classes/stoica.ini @@ -105,6 +105,16 @@ modified = 384 id = K uri = U +[reply] +notice_id = 129 +profile_id = 129 +replied_id = 1 +modified = 384 + +[reply__keys] +notice_id = K +profile_id = K + [sms_carrier] id = 129 name = 2 |