[ Index ] |
PHP Cross Reference of ACL Module |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 224 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Action:: (10 methods):
translateActions()
translateStringActions()
processActionOperation()
getAllStringActions()
model()
tableName()
rules()
relations()
attributeLabels()
search()
translateActions($obj, $actions) X-Ref |
Translates the gibven actions into valid actions param: AclObject $obj the object to perform the permissions on param: mixed $actions may be a string or an array |
translateStringActions($actions) X-Ref |
Processes the given actions param: mixed $actions string or array of actions |
processActionOperation($posMinus, $posPlus, $actions) X-Ref |
Processes the next operation on the actions and returns them param: int $posMinus pos of the next minus-symbol in the string param: int $posPlus pos of the next plus-symbol in the string param: string $actions the action-string return: array[string] the actions |
getAllStringActions() X-Ref |
Fetches all actions from the database and returns them in an indexed array return: array[string] the actinos |
model($className=__CLASS__) X-Ref |
Returns the static model of the specified AR class. param: string $className active record class name. return: Action 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) |
search() X-Ref |
Retrieves a list of models based on the current search/filter conditions. return: CActiveDataProvider the data provider that can return the models based on the search/filter conditions. |
Generated: Sun Jul 1 19:24:45 2012 | Cross-referenced by PHPXref 0.7.1 |