.

DAOTokens Class Reference

Tokens DAO class. More...

Inheritance diagram for DAOTokens:
DataObjectBase IDataObject IActionSource ISearchAdapter IDBTable IDBWhereHolder

List of all members.

Protected Member Functions

  create_table_object ()
  Create the table object describing this dataobejcts table.

Detailed Description

Tokens DAO class.

Definition at line 5 of file tokens.model.php.


Member Function Documentation

DAOTokens::create_table_object (  )  [protected]

Create the table object describing this dataobejcts table.

Reimplemented from DataObjectBase.

Definition at line 9 of file tokens.model.php.

00009                                                  {
00010                 return new DBTable(
00011                         'tokens',
00012                         array(
00013                                 new DBFieldText('token', 40, null, DBField::NOT_NULL),
00014                                 new DBFieldDateTime('creationdate', DBFieldDateTime::NOW, DBFieldDateTime::TIMESTAMP | DBField::NOT_NULL)
00015                         ),
00016                         'token'
00017                 );              
00018         }

The documentation for this class was generated from the following file: