AclComponent Class Reference
List of all members.
|
Public Member Functions |
| | _initACL () |
| | allow ($aro, $aco, $action="*") |
| | check ($aro, $aco, $action="*") |
| | deny ($aro, $aco, $action="*") |
| & | getACL () |
| | getAco ($id) |
| | getAro ($id) |
| | grant ($aro, $aco, $action="*") |
| | inherit ($aro, $aco, $action="*") |
| | revoke ($aro, $aco, $action="*") |
| | setAco ($id) |
| | setAro ($id) |
Public Attributes |
| | $_instance = null |
| | $controller = true |
Detailed Description
Definition at line 37 of file acl.php.
Member Function Documentation
| AclComponent::_initACL |
( |
|
) |
|
Empty class defintion, to be overridden in subclasses.
public
Definition at line 82 of file acl.php.
| AclComponent::allow |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL allow instance.
- Parameters:
-
| string | $aro |
| string | $aco |
| string | $action : default = * |
- Returns:
- boolean public
Definition at line 105 of file acl.php.
| AclComponent::check |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL check instance.
- Parameters:
-
| string | $aro |
| string | $aco |
| string | $action : default = * |
- Returns:
- boolean public
Definition at line 93 of file acl.php.
| AclComponent::deny |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL deny instance.
- Parameters:
-
| string | $aro |
| string | $aco |
| string | $action : default = * |
- Returns:
- boolean public
Definition at line 117 of file acl.php.
| & AclComponent::getACL |
( |
|
) |
|
Static function used to gain an instance of the correct ACL class.
- Returns:
- object instance of ACL_CLASSNAME set in app/config/core.php public
Definition at line 64 of file acl.php.
| AclComponent::getAco |
( |
$ |
id |
) |
|
Pass-thru function for ACL getAco instance. that gets an ACO object from the given id or alias
- Parameters:
-
- Returns:
- object Aco public
Definition at line 192 of file acl.php.
| AclComponent::getAro |
( |
$ |
id |
) |
|
Pass-thru function for ACL getAro instance that gets an ARO object from the given id or alias
- Parameters:
-
- Returns:
- object Aro public
Definition at line 181 of file acl.php.
| AclComponent::grant |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL grant instance.
- Parameters:
-
| string | $aro |
| string | $aco |
| string | $action : default = * |
- Returns:
- boolean public
Definition at line 138 of file acl.php.
| AclComponent::inherit |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL inherit instance.
- Returns:
- boolean public
Definition at line 126 of file acl.php.
| AclComponent::revoke |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL grant instance.
- Parameters:
-
| string | $aro |
| string | $aco |
| string | $action : default = * |
- Returns:
- boolean public
Definition at line 150 of file acl.php.
| AclComponent::setAco |
( |
$ |
id |
) |
|
Sets the current ACO instance to object from getAco
- Parameters:
-
- Returns:
- boolean public
Definition at line 170 of file acl.php.
| AclComponent::setAro |
( |
$ |
id |
) |
|
Sets the current ARO instance to object from getAro
- Parameters:
-
- Returns:
- boolean public
Definition at line 160 of file acl.php.
Member Data Documentation
| AclComponent::$_instance = null |
| AclComponent::$controller = true |
The documentation for this class was generated from the following file:
- 1.1.x.x/cake/libs/controller/components/acl.php