Public Member Functions | |
__construct ($id, $config=array()) | |
init () | |
getRoles () |
Public Attributes | |
$displayParentType = false |
Protected Member Functions | |
setRoles () | |
setItems () | |
setPermissions () | |
setParents () | |
generateData () | |
fetchData () | |
fetchKeys () | |
calculateTotalItemCount () |
Rights permission data provider class file.
Definition at line 9 of file RPermissionDataProvider.php.
RPermissionDataProvider::__construct | ( | $id, | |
$config = array() |
|||
) |
Constructs the data provider.
string | $id | the data provider identifier. |
array | $config | configuration (name=>value) to be applied as the initial property values of this class. |
Definition at line 31 of file RPermissionDataProvider.php.
References init().
|
protected |
Calculates the total number of data items.
Definition at line 199 of file RPermissionDataProvider.php.
|
protected |
Fetches the data from the persistent data storage.
Definition at line 174 of file RPermissionDataProvider.php.
|
protected |
Fetches the data item keys from the persistent data storage.
Definition at line 184 of file RPermissionDataProvider.php.
|
protected |
Generates the data for the data provider.
Definition at line 136 of file RPermissionDataProvider.php.
Referenced by init().
RPermissionDataProvider::getRoles | ( | ) |
gets roles
Definition at line 74 of file RPermissionDataProvider.php.
RPermissionDataProvider::init | ( | ) |
Initializes the data provider.
Definition at line 47 of file RPermissionDataProvider.php.
References generateData(), Rights\getAuthorizer(), setItems(), setParents(), setPermissions(), and setRoles().
Referenced by __construct().
|
protected |
Sets the items property.
Definition at line 84 of file RPermissionDataProvider.php.
Referenced by init().
|
protected |
Sets the parents property.
Definition at line 116 of file RPermissionDataProvider.php.
Referenced by init().
|
protected |
Sets the permissions property.
Definition at line 95 of file RPermissionDataProvider.php.
Referenced by init().
|
protected |
Sets the roles property.
Definition at line 64 of file RPermissionDataProvider.php.
Referenced by init().