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

Public Member Functions

 tableName ()
 rules ()
 attributeLabels ()
 relations ()
- 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 10 of file PmAroNode.php.


Member Function Documentation

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

Definition at line 43 of file PmAroNode.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:
Permission the static model class

Definition at line 16 of file PmAroNode.php.

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

Definition at line 55 of file PmAroNode.php.

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

Definition at line 32 of file PmAroNode.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 24 of file PmAroNode.php.

{
return '{{aro}}';
}

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