.

DAONotificationsexceptions Class Reference

Manage norification subcriptions. More...

Inheritance diagram for DAONotificationsexceptions:
DataObjectCached DataObjectBase IDataObject IActionSource ISearchAdapter IDBTable IDBWhereHolder

List of all members.

Public Member Functions

  get_user ()

Public Attributes

  $id
  $id_user
  $source
  $source_id

Protected Member Functions

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

Detailed Description

Manage norification subcriptions.

Definition at line 7 of file notificationsexceptions.model.php.


Member Function Documentation

DAONotificationsexceptions::create_table_object (  )  [protected]

Create the table object describing this dataobejcts table.

Reimplemented from DataObjectBase.

Definition at line 16 of file notificationsexceptions.model.php.

00016                                                  {
00017                 return new DBTable(
00018                         'notificationsexceptions',
00019                         array(
00020                                 new DBFieldInt('id', null, DBFieldInt::PRIMARY_KEY),
00021                                 new DBFieldInt('id_user', null, DBFieldInt::FOREIGN_KEY), 
00022                                 new DBFieldText('source', 100, Notifications::SOURCE_APP, DBField::NOT_NULL),
00023                                 new DBFieldInt('source_id', null, DBFieldInt::UNSIGNED | DBField::NOT_NULL), 
00024                         ),
00025                         'id',
00026                         new DBRelation('users', new DBFieldRelation('id_user', 'id'))
00027                 );              
00028         }       
DAONotificationsexceptions::get_user (  ) 

Definition at line 30 of file notificationsexceptions.model.php.

00030                                    {
00031                 return Users::get($this->id_user);
00032         }

Member Data Documentation

DAONotificationsexceptions::$id

Definition at line 8 of file notificationsexceptions.model.php.

DAONotificationsexceptions::$id_user

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

DAONotificationsexceptions::$source

Definition at line 10 of file notificationsexceptions.model.php.

DAONotificationsexceptions::$source_id

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


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