HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
RPermissionDataProvider Class Reference

Public Member Functions

 __construct ($id, $config=array())
 init ()
 getRoles ()

Public Attributes

 $displayParentType = false

Protected Member Functions

 setRoles ()
 setItems ()
 setPermissions ()
 setParents ()
 generateData ()
 fetchData ()
 fetchKeys ()
 calculateTotalItemCount ()

Private Attributes

 $_authorizer
 $_roles
 $_items
 $_permissions
 $_parents

Detailed Description

Rights permission data provider class file.

Author
Christoffer Niska cnisk.nosp@m.a@li.nosp@m.ve.co.nosp@m.m
Since
0.9.11

Definition at line 10 of file RPermissionDataProvider.php.

Constructor & Destructor Documentation

RPermissionDataProvider::__construct (   $id,
  $config = array() 
)

Constructs the data provider.

Parameters
string$idthe data provider identifier.
array$configconfiguration (name=>value) to be applied as the initial property values of this class.
Returns
permissionDataProvider

Definition at line 32 of file RPermissionDataProvider.php.

Here is the call graph for this function:

Member Function Documentation

RPermissionDataProvider::calculateTotalItemCount ( )
protected

Calculates the total number of data items.

Returns
integer the total number of data items.

Definition at line 187 of file RPermissionDataProvider.php.

RPermissionDataProvider::fetchData ( )
protected

Fetches the data from the persistent data storage.

Returns
array list of data items

Definition at line 162 of file RPermissionDataProvider.php.

RPermissionDataProvider::fetchKeys ( )
protected

Fetches the data item keys from the persistent data storage.

Returns
array list of data item keys.

Definition at line 172 of file RPermissionDataProvider.php.

RPermissionDataProvider::generateData ( )
protected

Generates the data for the data provider.

Definition at line 123 of file RPermissionDataProvider.php.

Here is the caller graph for this function:

RPermissionDataProvider::getRoles ( )
Returns
array the roles.

Definition at line 69 of file RPermissionDataProvider.php.

RPermissionDataProvider::init ( )

Initializes the data provider.

Definition at line 46 of file RPermissionDataProvider.php.

Here is the call graph for this function:

Here is the caller graph for this function:

RPermissionDataProvider::setItems ( )
protected

Sets the items property.

Definition at line 77 of file RPermissionDataProvider.php.

Here is the caller graph for this function:

RPermissionDataProvider::setParents ( )
protected

Sets the parents property.

Definition at line 105 of file RPermissionDataProvider.php.

Here is the caller graph for this function:

RPermissionDataProvider::setPermissions ( )
protected

Sets the permissions property.

Definition at line 86 of file RPermissionDataProvider.php.

Here is the caller graph for this function:

RPermissionDataProvider::setRoles ( )
protected

Sets the roles property.

Definition at line 61 of file RPermissionDataProvider.php.

Here is the caller graph for this function:

Member Data Documentation

RPermissionDataProvider::$_authorizer
private

Definition at line 18 of file RPermissionDataProvider.php.

RPermissionDataProvider::$_items
private

Definition at line 20 of file RPermissionDataProvider.php.

RPermissionDataProvider::$_parents
private

Definition at line 22 of file RPermissionDataProvider.php.

RPermissionDataProvider::$_permissions
private

Definition at line 21 of file RPermissionDataProvider.php.

RPermissionDataProvider::$_roles
private

Definition at line 19 of file RPermissionDataProvider.php.

RPermissionDataProvider::$displayParentType = false

Definition at line 16 of file RPermissionDataProvider.php.


The documentation for this class was generated from the following file: