DB_ACL Class Reference

Public Member Functions | |
| _getAcoKeys ($keys) | |
| allow ($aro, $aco, $action="*", $value=1) | |
| check ($aro, $aco, $action="*") | |
| deny ($aro, $aco, $action="*") | |
| getAclLink ($aro, $aco) | |
| getAco ($id=null) | |
| getAro ($id=null) | |
| grant ($aro, $aco, $action="*") | |
| inherit ($aro, $aco, $action="*") | |
| revoke ($aro, $aco, $action="*") | |
Detailed Description
Definition at line 44 of file db_acl.php.
Member Function Documentation
| DB_ACL::_getAcoKeys | ( | $ | keys | ) |
Enter description here...
- Parameters:
-
object $keys
- Returns:
- array protected
Definition at line 298 of file db_acl.php.
| DB_ACL::allow | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*", |
|||
| $ | value = 1 | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action integer $value
- Returns:
- boolean public
Definition at line 134 of file db_acl.php.
References _getAcoKeys(), aco, aro, and getAclLink().
| DB_ACL::check | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action
- Returns:
- boolean public
Reimplemented from AclBase.
Definition at line 60 of file db_acl.php.
References _getAcoKeys(), and permissions.
| DB_ACL::deny | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action
- Returns:
- boolean public
Definition at line 181 of file db_acl.php.
References allow().
Referenced by revoke().
| DB_ACL::getAclLink | ( | $ | aro, | |
| $ | aco | |||
| ) |
| DB_ACL::getAco | ( | $ | id = null |
) |
Get an ACO object from the given id or alias
- Parameters:
-
mixed $id
- Returns:
- object Aco public
Definition at line 237 of file db_acl.php.
| DB_ACL::getAro | ( | $ | id = null |
) |
Get an ARO object from the given id or alias
- Parameters:
-
mixed $id
- Returns:
- object Aro public
Definition at line 227 of file db_acl.php.
| DB_ACL::grant | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action
- Returns:
- boolean public
Definition at line 205 of file db_acl.php.
References allow().
| DB_ACL::inherit | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action
- Returns:
- boolean public
Definition at line 193 of file db_acl.php.
References allow().
| DB_ACL::revoke | ( | $ | aro, | |
| $ | aco, | |||
| $ | action = "*" | |||
| ) |
Enter description here...
- Parameters:
-
string $aro string $aco string $action
- Returns:
- boolean public
Definition at line 217 of file db_acl.php.
References deny().
The documentation for this class was generated from the following file:
- 1.1.x.x/cake/libs/controller/components/dbacl/db_acl.php