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

Public Member Functions

 __construct ($userId=null, CAuthItem $parent=null)
 getNameText ()
 getNameLink ()
 getGridNameLink ()
 childCount ()
 sortableId ()
 getTypeText ()
 getDeleteOperationLink ()
 getDeleteTaskLink ()
 getDeleteRoleLink ()
 getRemoveParentLink ()
 getRemoveChildLink ()
 getRevokeAssignmentLink ()
 getRevokePermissionLink (CAuthItem $role)
 getAssignPermissionLink (CAuthItem $role)
 getInheritedPermissionText ($parents, $displayType=false)

Public Attributes

 $userId
 $parent
 $childCount

Detailed Description

Rights authorization item behavior 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 RAuthItemBehavior.php.

Constructor & Destructor Documentation

RAuthItemBehavior::__construct (   $userId = null,
CAuthItem  $parent = null 
)

Constructs the behavior.

Parameters
integer$userIdthe id of the user to whom this item is assigned
CAuthItem$parentthe parent item.

Definition at line 31 of file RAuthItemBehavior.php.

Member Function Documentation

RAuthItemBehavior::childCount ( )

Returns the markup for the child count.

Returns
string the markup.

Definition at line 83 of file RAuthItemBehavior.php.

Here is the caller graph for this function:

RAuthItemBehavior::getAssignPermissionLink ( CAuthItem  $role)

Returns the markup for the assign permission link.

Parameters
CAuthItem$rolethe role the permission is for.
Returns
string the markup.

Definition at line 240 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getDeleteOperationLink ( )

Returns the markup for the delete operation link.

Returns
string the markup.

Definition at line 117 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getDeleteRoleLink ( )

Returns the markup for the delete role link.

Returns
string the markup.

Definition at line 147 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getDeleteTaskLink ( )

Returns the markup for the delete task link.

Returns
string the markup.

Definition at line 132 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getGridNameLink ( )

Returns the markup for the name link to displayed in the grid.

Returns
string the markup.

Definition at line 65 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getInheritedPermissionText (   $parents,
  $displayType = false 
)

Returns the markup for a inherited permission.

Parameters
array$parentsthe parents for this item.
boolean$displayTypewhether to display the parent item type.
Returns
string the markup.

Definition at line 272 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getNameLink ( )

Returns the link to update the item.

Returns
string the markup.

Definition at line 52 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getNameText ( )

Returns the item name.

Returns
string the markup.

Definition at line 42 of file RAuthItemBehavior.php.

Here is the call graph for this function:

Here is the caller graph for this function:

RAuthItemBehavior::getRemoveChildLink ( )

Returns the markup for the remove child link.

Returns
string the markup.

Definition at line 179 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getRemoveParentLink ( )

Returns the markup for the remove parent link.

Returns
string the markup.

Definition at line 165 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getRevokeAssignmentLink ( )

Returns the markup for the revoke assignment link.

Returns
string the markup.

Definition at line 193 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getRevokePermissionLink ( CAuthItem  $role)

Returns the markup for the revoke permission link.

Parameters
CAuthItem$rolethe role the permission is for.
Returns
string the markup.

Definition at line 209 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::getTypeText ( )

Returns the markup for the item type.

Returns
string the markup.

Definition at line 107 of file RAuthItemBehavior.php.

Here is the call graph for this function:

RAuthItemBehavior::sortableId ( )

Returns the markup for the id required by jui sortable.

Returns
string the markup.

Definition at line 97 of file RAuthItemBehavior.php.

Here is the caller graph for this function:

Member Data Documentation

RAuthItemBehavior::$childCount

Definition at line 23 of file RAuthItemBehavior.php.

RAuthItemBehavior::$parent

Definition at line 19 of file RAuthItemBehavior.php.

RAuthItemBehavior::$userId

Definition at line 15 of file RAuthItemBehavior.php.


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