.

DAOHijackaccountsavedsessions Class Reference

Created on 26.11.2006. More...

Inheritance diagram for DAOHijackaccountsavedsessions:
DataObjectBase IDataObject IActionSource ISearchAdapter IDBTable IDBWhereHolder

List of all members.

Public Member Functions

  get_user ()
  Returns the user that hijakced.

Public Attributes

  $data
  $expirationdate
  $id
  $id_user

Protected Member Functions

  create_table_object ()

Detailed Description

Created on 26.11.2006.

Author:
Gerd Riesselmann Table Definition for session

Definition at line 11 of file hijackaccountsavedsessions.model.php.


Member Function Documentation

DAOHijackaccountsavedsessions::create_table_object (  )  [protected]

Reimplemented from DataObjectBase.

Definition at line 19 of file hijackaccountsavedsessions.model.php.

00019                                                  {
00020             return new DBTable(
00021                 'hijackaccountsavedsessions',
00022                         array(
00023                                 new DBFieldText('id', 40, null, DBField::NOT_NULL),
00024                                 new DBFieldInt('id_user', null, DBFieldInt::UNSIGNED | DBField::NOT_NULL),
00025                                 new DBFieldSerialized('data', DBFieldText::BLOB_LENGTH_LARGE),
00026                                 new DBFieldDateTime('expirationdate', null, DBField::NOT_NULL),                         
00027                         ),
00028                         'id',
00029                         new DBRelation(
00030                                 'users',
00031                                 new DBFieldRelation('id_user', 'id')
00032                         )
00033             );
00034         }
DAOHijackaccountsavedsessions::get_user (  ) 

Returns the user that hijakced.

Returns:
DAOUsers

Definition at line 41 of file hijackaccountsavedsessions.model.php.

00041                                    {
00042                 return Users::get($this->id_user);
00043         }

Member Data Documentation

DAOHijackaccountsavedsessions::$data

Definition at line 14 of file hijackaccountsavedsessions.model.php.

DAOHijackaccountsavedsessions::$expirationdate

Definition at line 15 of file hijackaccountsavedsessions.model.php.

DAOHijackaccountsavedsessions::$id

Definition at line 12 of file hijackaccountsavedsessions.model.php.

DAOHijackaccountsavedsessions::$id_user

Definition at line 13 of file hijackaccountsavedsessions.model.php.


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