diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-06-20 01:15:36 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-06-20 01:15:36 -0400 |
commit | bf0be3ddb7226f428a3cc00a87c5a64f2113c00b (patch) | |
tree | f39f275c5ada6dc79d835eb78101596fd003f368 /classes | |
parent | 8ecd2a6b1dcfb21fae9a70bba65dfff3bb7503f1 (diff) |
confirm email addresses
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Confirm_email.php | 23 | ||||
-rw-r--r-- | classes/stoica.ini | 9 |
2 files changed, 32 insertions, 0 deletions
diff --git a/classes/Confirm_email.php b/classes/Confirm_email.php new file mode 100644 index 000000000..0b13a4669 --- /dev/null +++ b/classes/Confirm_email.php @@ -0,0 +1,23 @@ +<?php +/** + * Table Definition for confirm_email + */ +require_once 'DB/DataObject.php'; + +class Confirm_email extends DB_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'confirm_email'; // table name + public $code; // varchar(32) primary_key not_null + public $user_id; // int(4) not_null + public $email; // varchar(255) not_null + public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP + + /* Static get */ + function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Confirm_email',$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 ad0925bd9..3745697d5 100644 --- a/classes/stoica.ini +++ b/classes/stoica.ini @@ -16,6 +16,15 @@ width = K height = K url = U +[confirm_email] +code = 130 +user_id = 129 +email = 130 +modified = 384 + +[confirm_email__keys] +code = K + [consumer] consumer_key = 130 seed = 130 |