|
HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
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 | |
Rights authorization item behavior class file.
Definition at line 10 of file RAuthItemBehavior.php.
| RAuthItemBehavior::__construct | ( | $userId = null, |
|
| CAuthItem | $parent = null |
||
| ) |
Constructs the behavior.
| integer | $userId | the id of the user to whom this item is assigned |
| CAuthItem | $parent | the parent item. |
Definition at line 31 of file RAuthItemBehavior.php.
| RAuthItemBehavior::childCount | ( | ) |
Returns the markup for the child count.
Definition at line 83 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getAssignPermissionLink | ( | CAuthItem | $role | ) |
Returns the markup for the assign permission link.
| CAuthItem | $role | the role the permission is for. |
Definition at line 240 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getDeleteOperationLink | ( | ) |
Returns the markup for the delete operation link.
Definition at line 117 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getDeleteRoleLink | ( | ) |
Returns the markup for the delete role link.
Definition at line 147 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getDeleteTaskLink | ( | ) |
Returns the markup for the delete task link.
Definition at line 132 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getGridNameLink | ( | ) |
Returns the markup for the name link to displayed in the grid.
Definition at line 65 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getInheritedPermissionText | ( | $parents, | |
$displayType = false |
|||
| ) |
Returns the markup for a inherited permission.
| array | $parents | the parents for this item. |
| boolean | $displayType | whether to display the parent item type. |
Definition at line 272 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getNameLink | ( | ) |
Returns the link to update the item.
Definition at line 52 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getNameText | ( | ) |
Returns the item name.
Definition at line 42 of file RAuthItemBehavior.php.


| RAuthItemBehavior::getRemoveChildLink | ( | ) |
Returns the markup for the remove child link.
Definition at line 179 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getRemoveParentLink | ( | ) |
Returns the markup for the remove parent link.
Definition at line 165 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getRevokeAssignmentLink | ( | ) |
Returns the markup for the revoke assignment link.
Definition at line 193 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getRevokePermissionLink | ( | CAuthItem | $role | ) |
Returns the markup for the revoke permission link.
| CAuthItem | $role | the role the permission is for. |
Definition at line 209 of file RAuthItemBehavior.php.

| RAuthItemBehavior::getTypeText | ( | ) |
Returns the markup for the item type.
Definition at line 107 of file RAuthItemBehavior.php.

| RAuthItemBehavior::sortableId | ( | ) |
Returns the markup for the id required by jui sortable.
Definition at line 97 of file RAuthItemBehavior.php.

| 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.