ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilPermissionGUI RBAC related output. More...
Public Member Functions | |
ilPermissionGUI (&$a_gui_obj) | |
Constructor. | |
& | executeCommand () |
perm () | |
show permissions of current node | |
permSave () | |
save permissions | |
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 () | |
__displayAddRoleForm () | |
__showPermissionsGeneralSection () | |
__showPermissionsObjectSection () | |
__showPermissionsRBACSection () | |
__showPermissionsCreateSection () |
Class ilPermissionGUI RBAC related output.
Definition at line 17 of file class.ilPermissionGUI.php.
ilPermissionGUI::__buildRoleFilterSelect | ( | ) |
Definition at line 459 of file class.ilPermissionGUI.php.
References $_SESSION, and formSelect().
Referenced by perm().
ilPermissionGUI::__displayAddRoleForm | ( | ) |
Definition at line 703 of file class.ilPermissionGUI.php.
References $_SESSION, $data, and $key.
Referenced by perm().
ilPermissionGUI::__filterRoles | ( | $a_roles, | |
$a_filter | |||
) |
Definition at line 469 of file class.ilPermissionGUI.php.
Referenced by getRolesData().
ilPermissionGUI::__initSubTabs | ( | $a_cmd | ) |
Definition at line 604 of file class.ilPermissionGUI.php.
Referenced by info(), owner(), and perm().
& ilPermissionGUI::__initTableGUI | ( | ) |
Definition at line 420 of file class.ilPermissionGUI.php.
ilPermissionGUI::__setTableGUIBasicData | ( | & | $tbl, |
& | $result_set, | ||
$a_from = "" |
|||
) |
standard implementation for tables use 'from' variable use different initial setting of table
Definition at line 432 of file class.ilPermissionGUI.php.
References $_GET.
ilPermissionGUI::__showPermissionsCreateSection | ( | ) |
Definition at line 901 of file class.ilPermissionGUI.php.
References ilUtil\array_php2js(), and ilPlugin\lookupTxt().
Referenced by perm().
ilPermissionGUI::__showPermissionsGeneralSection | ( | ) |
Definition at line 739 of file class.ilPermissionGUI.php.
References ilPlugin\lookupTxt().
Referenced by perm().
ilPermissionGUI::__showPermissionsObjectSection | ( | ) |
Definition at line 786 of file class.ilPermissionGUI.php.
References ilPlugin\lookupTxt().
Referenced by perm().
ilPermissionGUI::__showPermissionsRBACSection | ( | ) |
Definition at line 834 of file class.ilPermissionGUI.php.
References $lang, and ilPlugin\lookupTxt().
Referenced by perm().
ilPermissionGUI::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 332 of file class.ilPermissionGUI.php.
References $_POST, $ilCtrl, $ilErr, ilObject\_lookupTitle(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPermissionGUI::changeOwner | ( | ) |
Definition at line 564 of file class.ilPermissionGUI.php.
References $_POST, $ilErr, ilObjUser\_lookupId(), owner(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
& ilPermissionGUI::executeCommand | ( | ) |
Definition at line 52 of file class.ilPermissionGUI.php.
References $_GET, $cmd, $ilErr, and $ret.
ilPermissionGUI::getRolesData | ( | ) |
Definition at line 620 of file class.ilPermissionGUI.php.
References $_POST, $_SESSION, $key, __filterRoles(), ilRbacReview\_getOperationList(), and ilRbacReview\_groupOperationsByClass().
Referenced by perm(), and permSave().
ilPermissionGUI::ilPermissionGUI | ( | & | $a_gui_obj | ) |
Constructor.
Definition at line 22 of file class.ilPermissionGUI.php.
References $ilCtrl, $ilErr, $lng, $tpl, and PEAR_ERROR_CALLBACK.
ilPermissionGUI::info | ( | ) |
Definition at line 592 of file class.ilPermissionGUI.php.
References __initSubTabs().
ilPermissionGUI::owner | ( | ) |
Definition at line 546 of file class.ilPermissionGUI.php.
References __initSubTabs(), ilObjUser\_lookupLogin(), and ilUtil\getImagePath().
Referenced by changeOwner().
ilPermissionGUI::perm | ( | ) |
show permissions of current node
public
Definition at line 88 of file class.ilPermissionGUI.php.
References $_GET, __buildRoleFilterSelect(), __displayAddRoleForm(), __initSubTabs(), __showPermissionsCreateSection(), __showPermissionsGeneralSection(), __showPermissionsObjectSection(), __showPermissionsRBACSection(), ilObjRole\_getTranslation(), ilUtil\getImagePath(), getRolesData(), and ilUtil\sendInfo().
ilPermissionGUI::permSave | ( | ) |
save permissions
public
Definition at line 224 of file class.ilPermissionGUI.php.
References $_POST, $data, $key, getRolesData(), and ilUtil\sendSuccess().