ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class displays the permission status of a user concerning a specific object. More...
Public Member Functions | |
__construct (&$a_obj) | |
Constructor 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")
ilObjectPermissionStatusGUI: ilRepositorySearchGUI
Definition at line 16 of file class.ilObjectPermissionStatusGUI.php.
ilObjectPermissionStatusGUI::__construct | ( | & | $a_obj | ) |
Constructor public.
Definition at line 43 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $ilCtrl, $lng, $rbacreview, $tpl, getAssignedValidRoles(), getUser(), and user().
ilObjectPermissionStatusGUI::accessPermissionsTable | ( | ) |
Access Permissions Table.
Definition at line 161 of file class.ilObjectPermissionStatusGUI.php.
References $table, and getAccessPermissionTableData().
Referenced by perminfo().
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().
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().
ilObjectPermissionStatusGUI::availableRolesTable | ( | ) |
Available Roles Table.
Definition at line 177 of file class.ilObjectPermissionStatusGUI.php.
References $table, and getAvailableRolesTableData().
Referenced by perminfo().
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().
ilObjectPermissionStatusGUI::getAccessPermissionTableData | ( | ) |
Access Permissions Table Data.
Definition at line 361 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, ilRbacReview\_getOperationList(), getAssignedValidRoles(), ilObjectPlugin\lookupTxtById(), and user().
Referenced by accessPermissionsTable().
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().
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().
ilObjectPermissionStatusGUI::getAvailableRolesTableData | ( | ) |
Available Roles Table Data.
Definition at line 434 of file class.ilObjectPermissionStatusGUI.php.
References $DIC, $path, $tree, ilObjRole\_getTranslation(), ilObjRole\_removeObjectId(), and ilObjectPlugin\lookupTxtById().
Referenced by availableRolesTable().
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().
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().
ilObjectPermissionStatusGUI::perminfo | ( | ) |
cmd function
Definition at line 95 of file class.ilObjectPermissionStatusGUI.php.
References $tpl, accessPermissionsTable(), accessStatusInfo(), addToolbar(), and availableRolesTable().
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.
const ilObjectPermissionStatusGUI::IMG_OK = 0 |
Definition at line 35 of file class.ilObjectPermissionStatusGUI.php.
Referenced by ilAccessPermissionsStatusTableGUI\fillRow(), and ilAvailableRolesStatusTableGUI\fillRow().