[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/dao/ -> permissions.class.php (sommaire)

(pas de description)

Poids: 126 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 15 fois
Nécessite: 0 fichiers

Définit 1 class

Permissions:: (8 méthodes):
  Permissions()
  addPermission()
  updatePermission()
  getPermission()
  getPermissionByName()
  deletePermission()
  getAllPermissions()
  mapRow()


Classe: Permissions  - X-Ref

\ingroup DAO

Model class that manages the 'permissions' table
Permissions()   X-Ref
Pas de description

addPermission( &$perm )   X-Ref
Add a new permission

param: perm A Permission object
return: True if successful or false otherwise

updatePermission( &$perm )   X-Ref
Update a permission

param: perm
return: True if successful or false otherwise

getPermission( $id )   X-Ref
Retrieve a permission given its id

param: id The id of the permission
return: A Permission object if successful or false otherwise

getPermissionByName( $name )   X-Ref
Retrieve a permission given its name

param: name The name of the permission
return: A Permission object if successful or false otherwise

deletePermission( $id )   X-Ref
Deletes a permission given its id

param: id The id of the permission
return: True if successful or false otherwise

getAllPermissions()   X-Ref
Loads all permissions from the database

return: An array of Permission objects, or an empty array if no

mapRow( $row )   X-Ref




Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics