AclBehavior Class Reference

Inheritance diagram for AclBehavior:

ModelBehavior Object

List of all members.


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.

Definition at line 83 of file acl.php.

AclBehavior::node ( &$  model,
ref = null 
)

Retrieves the Aro/Aco node for this model

Parameters:
mixed $ref
Returns:
array

Definition at line 71 of file acl.php.

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.

Definition at line 51 of file acl.php.

References $config, and uses().


The documentation for this class was generated from the following file: