ACL Extension
0.3
|
Public Member Functions | |
tableName () | |
rules () | |
relations () | |
attributeLabels () | |
search () |
Static Public Member Functions | |
static | translateActions ($obj, $actions) |
static | model ($className=__CLASS__) |
Static Protected Member Functions | |
static | translateStringActions ($actions) |
static | processActionOperation ($posMinus, $posPlus, $actions) |
static | getAllStringActions () |
Definition at line 22 of file Action.php.
attributeLabels | ( | ) |
Definition at line 195 of file Action.php.
|
staticprotected |
Fetches all actions from the database and returns them in an indexed array
Definition at line 136 of file Action.php.
|
static |
Returns the static model of the specified AR class.
string | $className | active record class name. |
Definition at line 151 of file Action.php.
|
staticprotected |
Processes the next operation on the actions and returns them
int | $posMinus | pos of the next minus-symbol in the string |
int | $posPlus | pos of the next plus-symbol in the string |
string | $actions | the action-string |
Definition at line 107 of file Action.php.
relations | ( | ) |
Definition at line 184 of file Action.php.
rules | ( | ) |
Definition at line 167 of file Action.php.
search | ( | ) |
Retrieves a list of models based on the current search/filter conditions.
Definition at line 208 of file Action.php.
tableName | ( | ) |
Definition at line 159 of file Action.php.
|
static |
Translates the gibven actions into valid actions
AclObject | $obj | the object to perform the permissions on |
mixed | $actions | may be a string or an array |
Definition at line 30 of file Action.php.
|
staticprotected |
Processes the given actions
mixed | $actions | string or array of actions |
Definition at line 65 of file Action.php.