AclBehavior Class Reference
Inheritance diagram for AclBehavior:

Public Member Functions | |
| afterDelete (&$model) | |
| afterSave (&$model, $created) | |
| node (&$model, $ref=null) | |
| setup (&$model, $config=array()) | |
Detailed Description
Definition at line 37 of file acl.php.
Member Function Documentation
| AclBehavior::afterDelete | ( | &$ | model | ) |
Destroys the ARO/ACO node bound to the deleted record
Reimplemented from ModelBehavior.
Definition at line 105 of file acl.php.
References Set::extract().
| AclBehavior::afterSave | ( | &$ | model, | |
| $ | created | |||
| ) |
Creates a new ARO/ACO node bound to this record
- Parameters:
-
boolean $created True if this is a new record
Reimplemented from ModelBehavior.
| AclBehavior::node | ( | &$ | model, | |
| $ | ref = null | |||
| ) |
| AclBehavior::setup | ( | &$ | model, | |
| $ | config = array() | |||
| ) |
Sets up the configuation for the model, and loads ACL models if they haven't been already
- Parameters:
-
mixed $config
Reimplemented from ModelBehavior.
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/libs/model/behaviors/acl.php