ILIAS
Release_5_0_x_branch Revision 61816
|
This class displays the permission status of a user concerning a specific object. More...
Public Member Functions | |
__construct (&$a_obj) | |
Constructor public. | |
& | executeCommand () |
execute command | |
perminfo () | |
cmd function | |
addToolbar () | |
Creates Toolbar entries. | |
accessStatusInfo () | |
Access- and Statusinformation Info. | |
accessPermissionsTable () | |
Access Permissions Table. | |
availableRolesTable () | |
Available Roles Table. | |
getAssignedValidRoles () | |
get Assigned Valid Roles | |
getCommands ($a_type) | |
get Commands | |
getUser () | |
ilUser | |
getAccessStatusInfoData () | |
Access Status Info Data. | |
getAccessPermissionTableData () | |
Access Permissions Table Data. | |
getAvailableRolesTableData () | |
Available Roles Table Data. |
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 15 of file class.ilObjectPermissionStatusGUI.php.
ilObjectPermissionStatusGUI::__construct | ( | & | $a_obj | ) |
Constructor public.
Definition at line 42 of file class.ilObjectPermissionStatusGUI.php.
References $ilCtrl, $lng, $rbacreview, $tpl, getAssignedValidRoles(), and getUser().
ilObjectPermissionStatusGUI::accessPermissionsTable | ( | ) |
Access Permissions Table.
Definition at line 154 of file class.ilObjectPermissionStatusGUI.php.
References getAccessPermissionTableData().
Referenced by perminfo().
ilObjectPermissionStatusGUI::accessStatusInfo | ( | ) |
Access- and Statusinformation Info.
Definition at line 133 of file class.ilObjectPermissionStatusGUI.php.
References getAccessStatusInfoData(), and ilCtrl\getFormAction().
Referenced by perminfo().
ilObjectPermissionStatusGUI::addToolbar | ( | ) |
Creates Toolbar entries.
Definition at line 106 of file class.ilObjectPermissionStatusGUI.php.
References ilCtrl\getFormAction(), ilCtrl\getLinkTargetByClass(), and ilTextInputGUI\setDataSource().
Referenced by perminfo().
ilObjectPermissionStatusGUI::availableRolesTable | ( | ) |
Available Roles Table.
Definition at line 170 of file class.ilObjectPermissionStatusGUI.php.
References getAvailableRolesTableData().
Referenced by perminfo().
& ilObjectPermissionStatusGUI::executeCommand | ( | ) |
execute command
Definition at line 63 of file class.ilObjectPermissionStatusGUI.php.
References $cmd, $ilCtrl, ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), and ilCtrl\setReturn().
ilObjectPermissionStatusGUI::getAccessPermissionTableData | ( | ) |
Access Permissions Table Data.
Definition at line 367 of file class.ilObjectPermissionStatusGUI.php.
References ilRbacReview\_getOperationList(), getAssignedValidRoles(), IMG_NOT_OK, and ilPlugin\lookupTxt().
Referenced by accessPermissionsTable().
ilObjectPermissionStatusGUI::getAccessStatusInfoData | ( | ) |
Access Status Info Data.
Definition at line 283 of file class.ilObjectPermissionStatusGUI.php.
References $assigned_valid_roles, $cmd, getAssignedValidRoles(), getCommands(), and IL_NO_PARENT_ACCESS.
Referenced by accessStatusInfo().
ilObjectPermissionStatusGUI::getAssignedValidRoles | ( | ) |
get Assigned Valid Roles
Definition at line 186 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 446 of file class.ilObjectPermissionStatusGUI.php.
References $path, ilObjRole\_getTranslation(), and IMG_NOT_OK.
Referenced by availableRolesTable().
ilObjectPermissionStatusGUI::getCommands | ( | $a_type | ) |
get Commands
$a_type | string |
Definition at line 228 of file class.ilObjectPermissionStatusGUI.php.
References $location.
Referenced by getAccessStatusInfoData().
ilObjectPermissionStatusGUI::getUser | ( | ) |
ilUser
Definition at line 248 of file class.ilObjectPermissionStatusGUI.php.
References $_POST, $ilUser, $user, ilObjUser\_lookupId(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Referenced by __construct().
ilObjectPermissionStatusGUI::perminfo | ( | ) |
cmd function
Definition at line 89 of file class.ilObjectPermissionStatusGUI.php.
References $tpl, accessPermissionsTable(), accessStatusInfo(), addToolbar(), and availableRolesTable().
ilObjectPermissionStatusGUI::$assigned_valid_roles |
Definition at line 32 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getAccessStatusInfoData(), and getAssignedValidRoles().
ilObjectPermissionStatusGUI::$global_roles |
Definition at line 30 of file class.ilObjectPermissionStatusGUI.php.
ilObjectPermissionStatusGUI::$ilCtrl |
Definition at line 22 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct(), and executeCommand().
ilObjectPermissionStatusGUI::$lng |
Definition at line 20 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct().
ilObjectPermissionStatusGUI::$object |
Definition at line 26 of file class.ilObjectPermissionStatusGUI.php.
ilObjectPermissionStatusGUI::$rbacreview |
Definition at line 28 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct().
ilObjectPermissionStatusGUI::$tpl |
Definition at line 24 of file class.ilObjectPermissionStatusGUI.php.
Referenced by __construct(), and perminfo().
ilObjectPermissionStatusGUI::$user |
Definition at line 18 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getUser().
ilObjectPermissionStatusGUI::$user_roles |
Definition at line 29 of file class.ilObjectPermissionStatusGUI.php.
ilObjectPermissionStatusGUI::$valid_roles |
Definition at line 31 of file class.ilObjectPermissionStatusGUI.php.
const ilObjectPermissionStatusGUI::IMG_NOT_OK = 1 |
Definition at line 35 of file class.ilObjectPermissionStatusGUI.php.
Referenced by getAccessPermissionTableData(), and getAvailableRolesTableData().
const ilObjectPermissionStatusGUI::IMG_OK = 0 |
Definition at line 34 of file class.ilObjectPermissionStatusGUI.php.
Referenced by ilAccessPermissionsStatusTableGUI\fillRow(), and ilAvailableRolesStatusTableGUI\fillRow().