[ Index ]

PHP Cross Reference of ACL Module

title

Body

[close]

/components/strategies/nestedSet/pathMaterialization/models/ -> PmAro.php (summary)

(no description)

File Size: 235 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PmAro:: (8 methods):
  grant()
  deny()
  may()
  model()
  tableName()
  rules()
  relations()
  attributeLabels()


Class: PmAro  - X-Ref

The specific class for Access Request Objects providing the rights-
management specific to this strategy

grant($obj, $actions, $byPassCheck)   X-Ref
Grants the given actions to the given object

param: mixed $obj any valid identifier
param: mixed $actions the actions to grant
param: bool  $byPassCheck    Whether to bypass the additional grant-check
return: type

deny($obj, $actions)   X-Ref
Denies the given actions to the given object

param: mixed $obj any valid identifier
param: mixed $actions the actions to deny
return: type

may($originalObj, $actions)   X-Ref
Checks whether the this object may perform all of the given actions
on the given object

param: mixed $obj
param: mixed $actions
param: boolean true if it may, otherwise false

model($className=__CLASS__)   X-Ref
Returns the static model of the specified AR class.

param: string $className active record class name.
return: PM_Aco the static model class

tableName()   X-Ref

return: string the associated database table name

rules()   X-Ref

return: array validation rules for model attributes.

relations()   X-Ref

return: array relational rules.

attributeLabels()   X-Ref

return: array customized attribute labels (name=>label)



Generated: Sun Jul 1 19:24:45 2012 Cross-referenced by PHPXref 0.7.1