diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-23 22:02:05 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-23 22:02:05 -0400 |
commit | 5df185a5ed0040964dc53585c5187ac5004a7834 (patch) | |
tree | 232a5c470f830da1b7629239756d000b996383b5 /classes/Remember_me.php | |
parent | e330eb50d2c36505270375360303083decedee98 (diff) |
add table for remember me codes
darcs-hash:20080624020205-34904-be536546e7058ed77a6d45be4f91ffe201b3448e.gz
Diffstat (limited to 'classes/Remember_me.php')
-rw-r--r-- | classes/Remember_me.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/classes/Remember_me.php b/classes/Remember_me.php new file mode 100644 index 000000000..fd21c2fce --- /dev/null +++ b/classes/Remember_me.php @@ -0,0 +1,22 @@ +<?php +/** + * Table Definition for remember_me + */ +require_once 'DB/DataObject.php'; + +class Remember_me extends DB_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'remember_me'; // table name + public $code; // varchar(32) primary_key not_null + public $user_id; // int(4) not_null + public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + + /* Static get */ + function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Remember_me',$k,$v); } + + /* the code above is auto generated do not remove the tag below */ + ###END_AUTOCODE +} |