HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
AuthItemController Class Reference
Inheritance diagram for AuthItemController:
Collaboration diagram for AuthItemController:

Public Member Functions

 init ()
 filters ()
 accessRules ()
 actionPermissions ()
 actionOperations ()
 actionTasks ()
 actionRoles ()
 actionGenerate ()
 actionCreate ()
 actionUpdate ()
 actionDelete ()
 actionRemoveChild ()
 actionAssign ()
 actionRevoke ()
 actionSortable ()
 getItemName ()
 getChildName ()
 getType ()
 loadModel ()
- Public Member Functions inherited from RController
 filterRights ($filterChain)
 allowedActions ()
 accessDenied ($message=null)

Private Attributes

 $_authorizer
 $_model

Additional Inherited Members

- Public Attributes inherited from RController
 $layout = '//layouts/column1'
 $menu = array()
 $breadcrumbs = array()

Detailed Description

Rights authorization item controller class file.

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

Definition at line 10 of file AuthItemController.php.

Member Function Documentation

AuthItemController::accessRules ( )

Specifies the access control rules. This method is used by the 'accessControl' filter.

Returns
array access control rules

Definition at line 50 of file AuthItemController.php.

AuthItemController::actionAssign ( )

Adds a child to an authorization item.

Definition at line 441 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionCreate ( )

Creates an authorization item.

Todo:
add type validation.

Definition at line 269 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionDelete ( )

Deletes an operation.

Definition at line 382 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionGenerate ( )

Displays the generator page.

Definition at line 198 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionOperations ( )

Displays the operation management page.

Definition at line 126 of file AuthItemController.php.

AuthItemController::actionPermissions ( )

Displays the permission overview.

Definition at line 79 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionRemoveChild ( )

Removes a child from an authorization item.

Definition at line 412 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionRevoke ( )

Removes a child from an authorization item.

Definition at line 464 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionRoles ( )

Displays the role management page.

Definition at line 174 of file AuthItemController.php.

AuthItemController::actionSortable ( )

Processes the jui sortable.

Definition at line 487 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::actionTasks ( )

Displays the operation management page.

Definition at line 150 of file AuthItemController.php.

AuthItemController::actionUpdate ( )

Updates an authorization item.

Definition at line 302 of file AuthItemController.php.

Here is the call graph for this function:

AuthItemController::filters ( )
Returns
array action filters

Definition at line 37 of file AuthItemController.php.

AuthItemController::getChildName ( )
Returns
string the child name or null if not set.

Definition at line 508 of file AuthItemController.php.

Here is the caller graph for this function:

AuthItemController::getItemName ( )
Returns
string the item name or null if not set.

Definition at line 500 of file AuthItemController.php.

Here is the caller graph for this function:

AuthItemController::getType ( )

Returns the authorization item type after validation.

Returns
int the type.

Definition at line 518 of file AuthItemController.php.

Here is the call graph for this function:

Here is the caller graph for this function:

AuthItemController::init ( )

Initializes the controller.

Definition at line 24 of file AuthItemController.php.

AuthItemController::loadModel ( )

Returns the data model based on the primary key given in the GET variable. If the data model is not found, an HTTP exception will be raised.

Definition at line 533 of file AuthItemController.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

AuthItemController::$_authorizer
private

Definition at line 15 of file AuthItemController.php.

AuthItemController::$_model
private

Definition at line 19 of file AuthItemController.php.


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