|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class displays the permission status of a user concerning a specific object. More...
Collaboration diagram for ilObjectPermissionStatusGUI:Public Member Functions | |
| __construct (&$a_obj) | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| perminfo () | |
| cmd function More... | |
| addToolbar () | |
| Creates Toolbar entries. More... | |
| accessStatusInfo () | |
| Access- and Statusinformation Info. More... | |
| accessPermissionsTable () | |
| Access Permissions Table. More... | |
| availableRolesTable () | |
| Available Roles Table. More... | |
| getAssignedValidRoles () | |
| get Assigned Valid Roles More... | |
| getCommands ($a_type) | |
| get Commands More... | |
| getUser () | |
| ilUser More... | |
| getAccessStatusInfoData () | |
| Access Status Info Data. More... | |
| getAccessPermissionTableData () | |
| Access Permissions Table Data. More... | |
| getAvailableRolesTableData () | |
| Available Roles Table Data. More... | |
Data Fields | |
| $user | |
| $lng | |
| $ilCtrl | |
| $tpl | |
| $object | |
| $rbacreview | |
| $user_roles | |
| $global_roles | |
| $valid_roles | |
| $assigned_valid_roles | |
| const | IMG_OK = 0 |
| const | IMG_NOT_OK = 1 |
This class displays the permission status of a user concerning a specific object.
("Permissions" -> "Permission of User")
@ilCtrl_Calls ilObjectPermissionStatusGUI: ilRepositorySearchGUI
Definition at line 16 of file class.ilObjectPermissionStatusGUI.php.
| ilObjectPermissionStatusGUI::__construct | ( | & | $a_obj | ) |
Constructor @access public.
Definition at line 43 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $ilCtrl, $lng, $rbacreview, $tpl, getAssignedValidRoles(), getUser(), and user().
Here is the call graph for this function:| ilObjectPermissionStatusGUI::accessPermissionsTable | ( | ) |
Access Permissions Table.
Definition at line 161 of file class.ilObjectPermissionStatusGUI.php.
References $table, and getAccessPermissionTableData().
Referenced by perminfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::accessStatusInfo | ( | ) |
Access- and Statusinformation Info.
Definition at line 141 of file class.ilObjectPermissionStatusGUI.php.
References $data, $info, getAccessStatusInfoData(), and ilCtrl\getFormAction().
Referenced by perminfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::addToolbar | ( | ) |
Creates Toolbar entries.
Definition at line 112 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $login, ilCtrl\getFormAction(), ilCtrl\getLinkTargetByClass(), and user().
Referenced by perminfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::availableRolesTable | ( | ) |
Available Roles Table.
Definition at line 177 of file class.ilObjectPermissionStatusGUI.php.
References $table, and getAvailableRolesTableData().
Referenced by perminfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::executeCommand | ( | ) |
execute command
Definition at line 68 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $ilCtrl, ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), and ilCtrl\setReturn().
Here is the call graph for this function:| ilObjectPermissionStatusGUI::getAccessPermissionTableData | ( | ) |
Access Permissions Table Data.
Definition at line 361 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, ilRbacReview\_getOperationList(), getAssignedValidRoles(), IMG_NOT_OK, IMG_OK, ilObjectPlugin\lookupTxtById(), and user().
Referenced by accessPermissionsTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::getAccessStatusInfoData | ( | ) |
Access Status Info Data.
Definition at line 282 of file class.ilObjectPermissionStatusGUI.php.
References $assigned_valid_roles, $DIC, $factory, $info, $text, getAssignedValidRoles(), getCommands(), IL_NO_PARENT_ACCESS, IL_STATUS_MESSAGE, and user().
Referenced by accessStatusInfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::getAssignedValidRoles | ( | ) |
get Assigned Valid Roles
Definition at line 193 of file class.ilObjectPermissionStatusGUI.php.
References $assigned_valid_roles, ilRbacReview\_getOperationList(), and ilObjRole\_getTranslation().
Referenced by __construct(), getAccessPermissionTableData(), and getAccessStatusInfoData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::getAvailableRolesTableData | ( | ) |
Available Roles Table Data.
Definition at line 434 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $path, $tree, ilObjRole\_getTranslation(), ilObjRole\_removeObjectId(), IMG_NOT_OK, IMG_OK, and ilObjectPlugin\lookupTxtById().
Referenced by availableRolesTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::getCommands | ( | $a_type | ) |
get Commands
| $a_type | string |
Definition at line 229 of file class.ilObjectPermissionStatusGUI.php.
References $a_type, $DIC, and $location.
Referenced by getAccessStatusInfoData().
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::getUser | ( | ) |
ilUser
Definition at line 251 of file class.ilObjectPermissionStatusGUI.php.
References $_POST, $DIC, $factory, $ilUser, $user, ilObjUser\_lookupId(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectPermissionStatusGUI::perminfo | ( | ) |
cmd function
Definition at line 95 of file class.ilObjectPermissionStatusGUI.php.
References $tpl, accessPermissionsTable(), accessStatusInfo(), addToolbar(), and availableRolesTable().
Here is the call graph for this function:| ilObjectPermissionStatusGUI::$assigned_valid_roles |
Definition at line 33 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getAccessStatusInfoData(), and getAssignedValidRoles().
| ilObjectPermissionStatusGUI::$global_roles |
Definition at line 31 of file class.ilObjectPermissionStatusGUI.php.
| ilObjectPermissionStatusGUI::$ilCtrl |
Definition at line 23 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct(), and executeCommand().
| ilObjectPermissionStatusGUI::$lng |
Definition at line 21 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct().
| ilObjectPermissionStatusGUI::$object |
Definition at line 27 of file class.ilObjectPermissionStatusGUI.php.
| ilObjectPermissionStatusGUI::$rbacreview |
Definition at line 29 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct().
| ilObjectPermissionStatusGUI::$tpl |
Definition at line 25 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct(), and perminfo().
| ilObjectPermissionStatusGUI::$user |
Definition at line 19 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getUser().
| ilObjectPermissionStatusGUI::$user_roles |
Definition at line 30 of file class.ilObjectPermissionStatusGUI.php.
| ilObjectPermissionStatusGUI::$valid_roles |
Definition at line 32 of file class.ilObjectPermissionStatusGUI.php.
| const ilObjectPermissionStatusGUI::IMG_NOT_OK = 1 |
Definition at line 36 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getAccessPermissionTableData(), and getAvailableRolesTableData().
| const ilObjectPermissionStatusGUI::IMG_OK = 0 |
Definition at line 35 of file class.ilObjectPermissionStatusGUI.php.
Referenced by ilAccessPermissionsStatusTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), getAccessPermissionTableData(), and getAvailableRolesTableData().