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())

Public Attributes

 $__typeMaps = array('requester' => 'Aro', 'controlled' => 'Aco')

Detailed Description

Definition at line 35 of file acl.php.


Member Function Documentation

AclBehavior::afterDelete ( &$  model  ) 

Destroys the ARO/ACO node bound to the deleted record

Returns:
void public

Reimplemented from ModelBehavior.

Definition at line 110 of file acl.php.

References Set::extract(), and name().

AclBehavior::afterSave ( &$  model,
created 
)

Creates a new ARO/ACO node bound to this record

Parameters:
boolean $created True if this is a new record
Returns:
void public

Reimplemented from ModelBehavior.

Definition at line 86 of file acl.php.

References name().

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

Retrieves the Aro/Aco node for this model

Parameters:
mixed $ref
Returns:
array public

Definition at line 72 of file acl.php.

References name().

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
Returns:
void public

Reimplemented from ModelBehavior.

Definition at line 50 of file acl.php.

References $config, and uses().


Member Data Documentation

AclBehavior::$__typeMaps = array('requester' => 'Aro', 'controlled' => 'Aco')

Definition at line 42 of file acl.php.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 00:30:55 2009 for CakePHP 1.2.x.x (v1.2.4.8284) by doxygen 1.4.7