[ Index ]
 

Code source de CakePHP 1.1.13.4450

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

title

Body

[fermer]

/cake/libs/controller/components/ -> acl.php (sommaire)

Access Control List factory class. Permissions system.

Copyright: Copyright 2005-2007, Cake Software Foundation, Inc.
License: http://www.opensource.org/licenses/mit-license.php The MIT License
Version: $Revision: 4409 $
Poids: 196 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

AclComponent:: (13 méthodes):
  __construct()
  getACL()
  _initACL()
  check()
  allow()
  deny()
  inherit()
  grant()
  revoke()
  setAro()
  setAco()
  getAro()
  getAco()


Classe: AclComponent  - X-Ref

Access Control List factory class.

Looks for ACL implementation class in core config, and returns an instance of that class.

__construct()   X-Ref
Constructor.

Will return an instance of the correct ACL class.

getACL()   X-Ref
Static function used to gain an instance of the correct ACL class.

return: object instance of ACL_CLASSNAME set in app/config/core.php

_initACL()   X-Ref
Empty class defintion, to be overridden in subclasses.


check($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL check instance.

param: string $aro
param: string $aco
param: string $action : default = *
return: boolean

allow($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL allow instance.

param: string $aro
param: string $aco
param: string $action : default = *
return: boolean

deny($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL deny instance.

param: string $aro
param: string $aco
param: string $action : default = *
return: boolean

inherit($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL inherit instance.

return: boolean

grant($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL grant instance.

param: string $aro
param: string $aco
param: string $action : default = *
return: boolean

revoke($aro, $aco, $action = "*")   X-Ref
Pass-thru function for ACL grant instance.

param: string $aro
param: string $aco
param: string $action : default = *
return: boolean

setAro($id)   X-Ref
Sets the current ARO instance to object from getAro

param: string $id
return: boolean

setAco($id)   X-Ref
Sets the current ACO instance to object from getAco

param: string $id
return: boolean

getAro($id)   X-Ref
Pass-thru function for ACL getAro instance
that gets an ARO object from the given id or alias

param: string $id
return: object Aro

getAco($id)   X-Ref
Pass-thru function for ACL getAco instance.
that gets an ACO object from the given id or alias

param: string $id
return: object Aco



Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7