[ 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/ -> Action.php (sommaire)

(pas de description)

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

Définit 1 class

Action:: (11 méthodes):
  getActionName()
  setActionName()
  getUser()
  setUser()
  getParameters()
  setParameters()
  factory()
  Action()
  isAuthorizedAction()
  _isAuthorized()
  cacheAllowsRubrique()


Classe: Action  - X-Ref

getActionName()   X-Ref
Get Action name

return: String

setActionName($actionName)   X-Ref
Set Action name

param: $actionName

getUser()   X-Ref
Get User to be checked

return: Auteur

setUser($user)   X-Ref
Set User to be checked

param: $user

getParameters()   X-Ref
Get Parameters used to check authorization

return: Array

setParameters($parameters)   X-Ref
Set Parameters used to check authorization

param: $parameters

factory($actionName, $user, $parameters)   X-Ref
Action Factory.


Action($actionName, $user, $parameters)   X-Ref
Action constructor.


isAuthorizedAction()   X-Ref
Get if a user is authorized to access to a command

param: $idUser
param: $parameters
return: bool

_isAuthorized()   X-Ref
Get if a user is authorized to access to a command

return: bool

cacheAllowsRubrique($idRubrique)   X-Ref

author: olivier
return: bool si l'auteur a acces à la rubrique



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