[ Index ] |
PHP Cross Reference of ACL Module |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 235 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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 |