List of all members.
Public Member Functions |
| grant ($obj, $actions) |
| deny ($obj, $actions) |
| init () |
| tableName () |
| relations () |
| rules () |
Static Public Member Functions |
static | model ($className=__CLASS__) |
Protected Member Functions |
| updatePermissions ($actions, $obj, $type) |
| existsPermissionSpec ($obj) |
Detailed Description
Aro Class File
- Author:
- zeroByte <dispyfree@googlemail.com>
- Copyright:
- mine LGPLv2 This class represents Access Request Objects Access Request Objects try to perform specific actions on Access Control Objects e.g.: Users, Processes, Machines...
Member Function Documentation
Aro::deny |
( |
$ |
obj, |
|
|
$ |
actions |
|
) |
| |
Denies the given actions to the given object
- Parameters:
-
- Returns:
- type
Aro::existsPermissionSpec |
( |
$ |
obj | ) |
[protected] |
Checks if there are any permission specifications for the given object
- Parameters:
-
Aro | $obj | the object to check for |
- Returns:
- type
Aro::grant |
( |
$ |
obj, |
|
|
$ |
actions |
|
) |
| |
Grants the given actions to the given object
- Parameters:
-
- Returns:
- type
static Aro::model |
( |
$ |
className = __CLASS__ | ) |
[static] |
Returns the static model of the specified AR class.
- Parameters:
-
string | $className | active record class name. |
- Returns:
- User the static model class
Reimplemented from ACLObject.
Aro::updatePermissions |
( |
$ |
actions, |
|
|
$ |
obj, |
|
|
$ |
type |
|
) |
| [protected] |
This method updates the permissions o the current object in the tree
- Parameters:
-
mixed | $actions | the actions to update for |
ACLObject | $obj | The ACLObject to update the permissions of(e.g.: Aro or Aco) |
boolean | $type | The type of the update: true => grant permission, false => deny permission |
- Returns:
- boolean
The documentation for this class was generated from the following file: