.

DAOUsers2userroles Class Reference

Table Definition for users. More...

Inheritance diagram for DAOUsers2userroles:
DataObjectBase IDataObject IActionSource ISearchAdapter IDBTable IDBWhereHolder

List of all members.

Public Attributes

  $id_role
  $id_user

Protected Member Functions

  create_table_object ()

Detailed Description

Table Definition for users.

Definition at line 6 of file users2userroles.model.php.


Member Function Documentation

DAOUsers2userroles::create_table_object (  )  [protected]

Reimplemented from DataObjectBase.

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

00012                                                  {
00013                 return new DBTable(
00014                         'users2userroles',
00015                         array(
00016                                 new DBFieldInt('id_user', null, DBFieldInt::UNSIGNED | DBFieldInt::NOT_NULL),
00017                                 new DBFieldInt('id_role', null, DBFieldInt::UNSIGNED | DBFieldInt::NOT_NULL),
00018                         ),
00019                         array(
00020                                 'id_user',
00021                                 'id_role'
00022                         ),
00023                         array(
00024                                 new DBRelation(
00025                                         'users',
00026                                         new DBFieldRelation('id_user', 'id')
00027                                 ),
00028                                 new DBRelation(
00029                                         'userroles',
00030                                         new DBFieldRelation('id_role', 'id')
00031                                 )
00032                         )
00033                 );
00034         }

Member Data Documentation

DAOUsers2userroles::$id_role

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

DAOUsers2userroles::$id_user

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


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