ACL Extension  0.3
 All Data Structures Namespaces Files Functions Variables
PmAcoNode Class Reference
Inheritance diagram for PmAcoNode:
PmAclNode AclNode

Public Member Functions

 tableName ()
 relations ()
 rules ()
 attributeLabels ()
- Public Member Functions inherited from PmAclNode
 branchNodeSubTree ($source, $destination)
 getOwnPath ()
 __clone ()
- Public Member Functions inherited from AclNode
 afterSave ()
 afterDelete ()
 getDirectChildren ()
 getDirectParents ()

Static Public Member Functions

static model ($className=__CLASS__)

Additional Inherited Members

- Protected Member Functions inherited from PmAclNode
 removeFullRecursively ()
 takeOverPermissions ($node)
 generateDirectChildrenCondition ()
 generateDirectParentCondition ()
- Protected Member Functions inherited from AclNode
 takeOverSubTree (PmAclNode $node)

Detailed Description

Definition at line 11 of file PmAcoNode.php.


Member Function Documentation

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

Definition at line 58 of file PmAcoNode.php.

{
return array(
'id' => 'ID',
'collection_id' => 'Collection Id',
'path' => 'path',
);
}
static model (   $className = __CLASS__)
static

Returns the static model of the specified AR class.

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

Definition at line 38 of file PmAcoNode.php.

{
return parent::model($className);
}
relations ( )
Returns:
array relational rules.

Definition at line 24 of file PmAcoNode.php.

{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
'aco' => array(static::BELONGS_TO, 'PmAco', 'collection_id'),
'permissions' => array(static::HAS_MANY, 'Permission', 'aco_id')
);
}
rules ( )
Returns:
array validation rules for model attributes.

Definition at line 47 of file PmAcoNode.php.

{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
);
}
tableName ( )
Returns:
string the associated database table name

Definition at line 16 of file PmAcoNode.php.

{
return '{{aco}}';
}

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