Yii Access Control Lists  0.8
Advanced and convenient Access Control
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Attributes
ACLObjectCollection Class Reference
Inheritance diagram for ACLObjectCollection:
ACLObject AcoCollection AroCollection

List of all members.

Public Member Functions

 getStringRepresentation ($identifier, $type)
 fetchComprisedPositions ()
 is ($group)
 join ($group)
 leave ($group)
 rules ()
 attributeLabels ()

Static Public Member Functions

static model ($className=__CLASS__)

Public Attributes

 $alias = NULL
 $model = NULL
 $foreign_key = NULL
 $isTree = false

Static Public Attributes

static $aroCollectionTable = '{{aro_collection}}'
static $acoCollectionTable = '{{aco_collection}}'

Static Protected Attributes

static $positionCacheExpiration = 3600

Member Function Documentation

ACLObjectCollection::attributeLabels ( )
Returns:
array customized attribute labels (name=>label)
ACLObjectCollection::fetchComprisedPositions ( )

Each ACL-ObjectCollection _may_ (but doesn't need to) consist of several ACL-Objects. Fetch all of its lft/rgtg-combinations

Returns:
array All of the combinations
ACLObjectCollection::getStringRepresentation ( identifier,
type 
)

Generates a unqiue string representation fo the given identifier and type This is mainly used for caching purposes

Parameters:
mixed$identifierthe identifier to represent
string$typethe type to represent
Returns:
string the unique representation
ACLObjectCollection::is ( group)

Checks whether the object associated to this collection is member of the given group

Parameters:
type$group
ACLObjectCollection::join ( group)

Joins the given group by setting the parent of one child to the given one

Parameters:
type$group
ACLObjectCollection::leave ( group)

Leaves the given group

Parameters:
type$group
static ACLObjectCollection::model ( className = __CLASS__) [static]

Returns the static model of the specified AR class.

Parameters:
string$classNameactive record class name.
Returns:
AcoCollection the static model class

Reimplemented from ACLObject.

Reimplemented in AroCollection, and AcoCollection.

ACLObjectCollection::rules ( )
Returns:
array validation rules for model attributes.

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