AclComponent Class Reference
List of all members.
|
Public Member Functions |
| | _initACL () |
| | allow ($aro, $aco, $action="*") |
| | check ($aro, $aco, $action="*") |
| | deny ($aro, $aco, $action="*") |
| | getAco ($id) |
| | getAro ($id) |
| | grant ($aro, $aco, $action="*") |
| | inherit ($aro, $aco, $action="*") |
| | revoke ($aro, $aco, $action="*") |
| | setAco ($id) |
| | setAro ($id) |
| | startup (&$controller) |
Public Attributes |
| | $_Instance = null |
Detailed Description
Definition at line 37 of file acl.php.
Member Function Documentation
| AclComponent::_initACL |
( |
|
) |
|
Empty class defintion, to be overridden in subclasses.
protected
Definition at line 79 of file acl.php.
| AclComponent::allow |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL allow instance.
- Parameters:
-
| string | $aro ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 102 of file acl.php.
| AclComponent::check |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL check instance.
- Parameters:
-
| string | $aro ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 90 of file acl.php.
| AclComponent::deny |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL deny instance.
- Parameters:
-
| string | $aro ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 114 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 ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 138 of file acl.php.
| AclComponent::inherit |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL inherit instance.
- Parameters:
-
| string | $aro ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 126 of file acl.php.
| AclComponent::revoke |
( |
$ |
aro, |
|
|
$ |
aco, |
|
|
$ |
action = "*" | |
|
) |
| | |
Pass-thru function for ACL grant instance.
- Parameters:
-
| string | $aro ARO |
| string | $aco ACO |
| string | $action Action (defaults to *) |
- Returns:
- boolean Success public
Definition at line 150 of file acl.php.
| AclComponent::setAco |
( |
$ |
id |
) |
|
Sets the current ACO instance to object from getAco
- Parameters:
-
- Returns:
- boolean Success public
Definition at line 170 of file acl.php.
| AclComponent::setAro |
( |
$ |
id |
) |
|
Sets the current ARO instance to object from getAro
- Parameters:
-
- Returns:
- boolean Success public
Definition at line 160 of file acl.php.
| AclComponent::startup |
( |
&$ |
controller |
) |
|
Startup is not used
- Parameters:
-
| object | $controller Controller using this component |
- Returns:
- boolean Proceed with component usage (true), or fail (false) public
Definition at line 71 of file acl.php.
Member Data Documentation
| AclComponent::$_Instance = null |
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/libs/controller/components/acl.php