ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilPermissionGUI RBAC related output. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
executeCommand () | |
Execute command. | |
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 454 of file class.ilPermission2GUI.php.
References $_SESSION, and formSelect().
ilPermission2GUI::__filterRoles | ( | $a_roles, | |
$a_filter | |||
) |
Definition at line 465 of file class.ilPermission2GUI.php.
Referenced by getRolesData().
ilPermission2GUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 606 of file class.ilPermission2GUI.php.
References $log, and ilRbacLog\isActive().
Referenced by info(), log(), owner(), and ilPermissionGUI\perm().
& ilPermission2GUI::__initTableGUI | ( | ) |
Definition at line 415 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 427 of file class.ilPermission2GUI.php.
References $_GET.
ilPermission2GUI::__showPermissionsCreateSection | ( | ) |
Definition at line 879 of file class.ilPermission2GUI.php.
References $ilSetting, ilUtil\array_php2js(), and ilPlugin\lookupTxt().
ilPermission2GUI::__showPermissionsGeneralSection | ( | ) |
Definition at line 717 of file class.ilPermission2GUI.php.
References ilPlugin\lookupTxt().
ilPermission2GUI::__showPermissionsObjectSection | ( | ) |
Definition at line 764 of file class.ilPermission2GUI.php.
References ilPlugin\lookupTxt().
ilPermission2GUI::__showPermissionsRBACSection | ( | ) |
Definition at line 812 of file class.ilPermission2GUI.php.
References $lang, and ilPlugin\lookupTxt().
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 297 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 984 of file class.ilPermission2GUI.php.
References log(), and ilTable2GUI\resetOffset().
ilPermission2GUI::changeOwner | ( | ) |
Definition at line 560 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 284 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 634 of file class.ilPermission2GUI.php.
References $_POST, $_SESSION, __filterRoles(), ilRbacReview\_getOperationList(), and ilRbacReview\_groupOperationsByClass().
Referenced by permSave().
ilPermission2GUI::info | ( | ) |
Definition at line 594 of file class.ilPermission2GUI.php.
References __initSubTabs().
ilPermission2GUI::initRoleForm | ( | ) |
Definition at line 206 of file class.ilPermission2GUI.php.
References $title, ilObjRole\_getTranslation(), ilUtil\_sortIds(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), and ilUtil\sortArray().
Referenced by addRole(), and displayAddRoleForm().
ilPermission2GUI::log | ( | ) |
Definition at line 969 of file class.ilPermission2GUI.php.
References __initSubTabs(), and ilRbacLog\isActive().
Referenced by applyLogFilter(), and resetLogFilter().
ilPermission2GUI::owner | ( | ) |
Definition at line 542 of file class.ilPermission2GUI.php.
References __initSubTabs(), ilObjUser\_lookupLogin(), and ilUtil\getImagePath().
Referenced by changeOwner().
ilPermission2GUI::permSave | ( | ) |
save permissions
public
Definition at line 99 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 993 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().