DbAcl Class Reference
Inheritance diagram for DbAcl:

Public Member Functions | |
| _getAcoKeys ($keys) | |
| allow ($aro, $aco, $actions="*", $value=1) | |
| check ($aro, $aco, $action="*") | |
| deny ($aro, $aco, $action="*") | |
| getAclLink ($aro, $aco) | |
| grant ($aro, $aco, $action="*") | |
| inherit ($aro, $aco, $action="*") | |
| initialize (&$component) | |
| revoke ($aro, $aco, $action="*") | |
Detailed Description
Definition at line 240 of file acl.php.
Member Function Documentation
| DbAcl::_getAcoKeys | ( | $ | keys | ) |
Get the keys used in an ACO
- Parameters:
-
array $keys Permission model info
- Returns:
- array ACO keys protected
| DbAcl::allow | ( | $ | aro, | |
| $ | aco, | |||
| $ | actions = "*", |
|||
| $ | value = 1 | |||
| ) |
Allow $aro to have access to action $actions in $aco
- Parameters:
-
string $aro ARO string $aco ACO string $actions Action (defaults to *) integer $value Value to indicate access type (1 to give access, -1 to deny, 0 to inherit)
- Returns:
- boolean Success public
Definition at line 361 of file acl.php.
References _getAcoKeys(), aco, aro, and getAclLink().
| DbAcl::check | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Checks if the given $aro has access to action $action in $aco
- Parameters:
-
string $aro ARO string $aco ACO string $action Action (defaults to *)
- Returns:
- boolean Success (true if ARO has access to action in ACO, false otherwise) public
Reimplemented from AclBase.
Definition at line 272 of file acl.php.
References _getAcoKeys(), Set::extract(), and order.
| DbAcl::deny | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
| DbAcl::getAclLink | ( | $ | aro, | |
| $ | aco | |||
| ) |
| DbAcl::grant | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
| DbAcl::inherit | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
| DbAcl::initialize | ( | &$ | component | ) |
| DbAcl::revoke | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/libs/controller/components/acl.php