[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/include/authorization/ -> trivial_authorization.php (sommaire)

(pas de description)

Poids: 1181 lignes (38 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TrivialAuthorizationManager:: (4 méthodes):
  TrivialAuthorizationManager()
  getAllProfiles()
  isAuthorized()
  cacheAllowsRubrique()


Classe: TrivialAuthorizationManager  - X-Ref

TrivialAuthorizationManager is a simple class for authorization abstraction manager

TrivialAuthorizationManager()   X-Ref
TrivialAuthorizationManager constructor.


getAllProfiles()   X-Ref
Get all the available profiles into an array

return: array

isAuthorized($idUser, $action, $parameters = null)   X-Ref
Returns true if a user is authorized to access to a command,
false otherwise. Certain commands need the parameters, so
be careful.

param: $idUser
param: $action
param: $parameters
return: bool

cacheAllowsRubrique($rubriqueId)   X-Ref
Pas de description



Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7