ILIAS
eassessment Revision 61809
|
Class ilPermissionGUI RBAC related output. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
executeCommand () | |
Execute command. | |
perm () | |
show permissions of current node | |
permSave () | |
save permissions | |
initRoleForm () | |
displayAddRoleForm () | |
addRole () | |
adds a local role This method is only called when choose the option 'you may add local roles'. | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__buildRoleFilterSelect () | |
__filterRoles ($a_roles, $a_filter) | |
owner () | |
changeOwner () | |
info () | |
__initSubTabs ($a_cmd) | |
getRolesData () | |
__showPermissionsGeneralSection () | |
__showPermissionsObjectSection () | |
__showPermissionsRBACSection () | |
__showPermissionsCreateSection () | |
log () | |
applyLogFilter () | |
resetLogFilter () |
Protected Attributes | |
$gui_obj = null | |
$ilErr = null | |
$ctrl = null | |
$lng = null |
Class ilPermissionGUI RBAC related output.
Definition at line 17 of file class.ilPermission2GUI.php.
ilPermission2GUI::__construct | ( | $a_gui_obj | ) |
Reimplemented in ilPermissionGUI.
Definition at line 24 of file class.ilPermission2GUI.php.
References $ilCtrl, $ilErr, $lng, $tpl, and PEAR_ERROR_CALLBACK.
ilPermission2GUI::__buildRoleFilterSelect | ( | ) |
Definition at line 587 of file class.ilPermission2GUI.php.
References $_SESSION, and formSelect().
Referenced by perm().
ilPermission2GUI::__filterRoles | ( | $a_roles, | |
$a_filter | |||
) |
Definition at line 598 of file class.ilPermission2GUI.php.
Referenced by getRolesData().
ilPermission2GUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 739 of file class.ilPermission2GUI.php.
References $log, and ilRbacLog\isActive().
Referenced by info(), log(), owner(), ilPermissionGUI\perm(), and perm().
& ilPermission2GUI::__initTableGUI | ( | ) |
Definition at line 548 of file class.ilPermission2GUI.php.
ilPermission2GUI::__setTableGUIBasicData | ( | & | $tbl, |
& | $result_set, | ||
$a_from = "" |
|||
) |
standard implementation for tables use 'from' variable use different initial setting of table
Definition at line 560 of file class.ilPermission2GUI.php.
References $_GET.
ilPermission2GUI::__showPermissionsCreateSection | ( | ) |
Definition at line 1012 of file class.ilPermission2GUI.php.
References $ilSetting, ilUtil\array_php2js(), and ilPlugin\lookupTxt().
Referenced by perm().
ilPermission2GUI::__showPermissionsGeneralSection | ( | ) |
Definition at line 850 of file class.ilPermission2GUI.php.
References ilPlugin\lookupTxt().
Referenced by perm().
ilPermission2GUI::__showPermissionsObjectSection | ( | ) |
Definition at line 897 of file class.ilPermission2GUI.php.
References ilPlugin\lookupTxt().
Referenced by perm().
ilPermission2GUI::__showPermissionsRBACSection | ( | ) |
Definition at line 945 of file class.ilPermission2GUI.php.
References $lang, and ilPlugin\lookupTxt().
Referenced by perm().
ilPermission2GUI::addRole | ( | ) |
adds a local role This method is only called when choose the option 'you may add local roles'.
This option is displayed in the permission settings dialogue for an object TODO: this will be changed public
Definition at line 430 of file class.ilPermission2GUI.php.
References $ilCtrl, $ilErr, ilObject\_lookupTitle(), ilObject\_lookupType(), ilRoleDesktopItem\add(), ilObjectFactory\getInstanceByRefId(), initRoleForm(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPermission2GUI::applyLogFilter | ( | ) |
Definition at line 1117 of file class.ilPermission2GUI.php.
References log(), and ilTable2GUI\resetOffset().
ilPermission2GUI::changeOwner | ( | ) |
Definition at line 693 of file class.ilPermission2GUI.php.
References $_POST, $ilErr, ilObjUser\_lookupId(), ilRbacLog\add(), ilRbacLog\CHANGE_OWNER, ilRbacLog\isActive(), owner(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPermission2GUI::displayAddRoleForm | ( | ) |
Definition at line 417 of file class.ilPermission2GUI.php.
References initRoleForm().
ilPermission2GUI::executeCommand | ( | ) |
Execute command.
Definition at line 56 of file class.ilPermission2GUI.php.
References $_GET, $cmd, $ilErr, and $ret.
ilPermission2GUI::getRolesData | ( | ) |
Definition at line 767 of file class.ilPermission2GUI.php.
References $_POST, $_SESSION, __filterRoles(), ilRbacReview\_getOperationList(), and ilRbacReview\_groupOperationsByClass().
Referenced by perm(), and permSave().
ilPermission2GUI::info | ( | ) |
Definition at line 727 of file class.ilPermission2GUI.php.
References __initSubTabs().
ilPermission2GUI::initRoleForm | ( | ) |
Definition at line 339 of file class.ilPermission2GUI.php.
References $desc, $title, ilObjRole\_getTranslation(), ilUtil\_sortIds(), ilFormPropertyGUI\setInfo(), and ilUtil\sortArray().
Referenced by addRole(), and displayAddRoleForm().
ilPermission2GUI::log | ( | ) |
Definition at line 1102 of file class.ilPermission2GUI.php.
References __initSubTabs(), and ilRbacLog\isActive().
Referenced by applyLogFilter(), and resetLogFilter().
ilPermission2GUI::owner | ( | ) |
Definition at line 675 of file class.ilPermission2GUI.php.
References __initSubTabs(), ilObjUser\_lookupLogin(), and ilUtil\getImagePath().
Referenced by changeOwner().
ilPermission2GUI::perm | ( | ) |
show permissions of current node
public
Definition at line 91 of file class.ilPermission2GUI.php.
References $_GET, __buildRoleFilterSelect(), __initSubTabs(), __showPermissionsCreateSection(), __showPermissionsGeneralSection(), __showPermissionsObjectSection(), __showPermissionsRBACSection(), ilObjRole\_getTranslation(), ilUtil\getImagePath(), getRolesData(), and ilUtil\sendInfo().
Referenced by ilPermissionGUI\applyFilter(), ilPermissionGUI\resetFilter(), and ilPermissionGUI\savePermissions().
ilPermission2GUI::permSave | ( | ) |
save permissions
public
Definition at line 232 of file class.ilPermission2GUI.php.
References $_POST, $data, $log, ilRbacLog\add(), ilRbacLog\diffFaPa(), ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByObjId(), getRolesData(), and ilUtil\sendSuccess().
ilPermission2GUI::resetLogFilter | ( | ) |
Definition at line 1126 of file class.ilPermission2GUI.php.
References log(), and ilTable2GUI\resetOffset().
|
protected |
Definition at line 21 of file class.ilPermission2GUI.php.
|
protected |
Definition at line 19 of file class.ilPermission2GUI.php.
|
protected |
Definition at line 20 of file class.ilPermission2GUI.php.
Referenced by __construct(), addRole(), changeOwner(), and executeCommand().
|
protected |
Definition at line 22 of file class.ilPermission2GUI.php.
Referenced by __construct().