ILIAS
Release_4_4_x_branch Revision 61816
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
Constructor. | |
executeCommand () | |
Execute command. | |
getCurrentObject () | |
Get current object. | |
perm (ilTable2GUI $table=NULL) | |
show permission table | |
applyRoleFilter ($a_roles, $a_filter_id) | |
Apply filter to roles. | |
Public Member Functions inherited from ilPermission2GUI | |
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 () | |
__showPermissionsGeneralSection () | |
__showPermissionsObjectSection () | |
__showPermissionsRBACSection () | |
__showPermissionsCreateSection () | |
log () | |
applyLogFilter () | |
resetLogFilter () |
Static Public Member Functions | |
static | hasContainerCommands ($a_type) |
Check if container commands are possible for the current object type. |
Protected Member Functions | |
confirmTemplateSwitch () | |
Called after toolbar action applyTemplateSwitch. | |
isAdminRoleFolder () | |
Check of current location is administration (main) role folder. | |
isAdministrationObject () | |
isInAdministration () | |
Check if node is subobject of administration folder. | |
applyFilter () | |
Apply filter. | |
resetFilter () | |
Reset filter. | |
savePermissions () | |
Save permissions. | |
showConfirmBlockRole ($a_roles) | |
Show block role confirmation screen. | |
blockRoles () | |
Block role. | |
initRoleFolder ($a_create=false) | |
Init role folder of object. | |
displayImportRoleForm (ilPropertyFormGUI $form=null) | |
Show import form. | |
doImportRole () | |
Perform import. | |
initImportForm () | |
init import form | |
initRoleForm () | |
Shoew add role type $rbacreview type $objDefinition. | |
displayAddRoleForm () | |
Show add role form. |
Protected Attributes | |
$current_obj = null | |
Protected Attributes inherited from ilPermission2GUI | |
$gui_obj = null | |
$ilErr = null | |
$ctrl = null | |
$lng = null |
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
ilPermissionGUI: ilObjRoleGUI, ilRepositorySearchGUI
Definition at line 19 of file class.ilPermissionGUI.php.
ilPermissionGUI::__construct | ( | $a_gui_obj | ) |
Constructor.
object | $a_gui_obj |
Reimplemented from ilPermission2GUI.
Definition at line 28 of file class.ilPermissionGUI.php.
|
protected |
Apply filter.
Definition at line 178 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
ilPermissionGUI::applyRoleFilter | ( | $a_roles, | |
$a_filter_id | |||
) |
Apply filter to roles.
int | $a_filter_id |
Definition at line 206 of file class.ilPermissionGUI.php.
References ilObjectRolePermissionTableGUI\ROLE_FILTER_ALL, ilObjectRolePermissionTableGUI\ROLE_FILTER_GLOBAL, ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL, ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL_OBJECT, and ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL_POLICY.
Referenced by savePermissions().
|
protected |
Block role.
Definition at line 474 of file class.ilPermissionGUI.php.
References $_POST, getCurrentObject(), and ilUtil\sendInfo().
|
protected |
Called after toolbar action applyTemplateSwitch.
Definition at line 95 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 717 of file class.ilPermissionGUI.php.
References $GLOBALS, and initRoleForm().
|
protected |
Show import form.
ilPropertyFormGUI | $form |
Definition at line 541 of file class.ilPermissionGUI.php.
References $GLOBALS, and initImportForm().
Referenced by doImportRole().
|
protected |
Perform import.
Definition at line 555 of file class.ilPermissionGUI.php.
References $GLOBALS, displayImportRoleForm(), getCurrentObject(), initImportForm(), isAdminRoleFolder(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 37 of file class.ilPermissionGUI.php.
References $_GET, $cmd, ilPermission2GUI\$ilErr, and $ret.
ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 87 of file class.ilPermissionGUI.php.
Referenced by applyFilter(), blockRoles(), doImportRole(), initRoleFolder(), isAdministrationObject(), isAdminRoleFolder(), isInAdministration(), perm(), resetFilter(), and savePermissions().
|
static |
Check if container commands are possible for the current object type.
object | $a_type |
Definition at line 530 of file class.ilPermissionGUI.php.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
|
protected |
init import form
Definition at line 610 of file class.ilPermissionGUI.php.
References ilFileInputGUI\setSuffixes().
Referenced by displayImportRoleForm(), and doImportRole().
|
protected |
Init role folder of object.
object | $a_create | [optional] |
Definition at line 511 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by savePermissions().
|
protected |
Shoew add role type $rbacreview type $objDefinition.
Definition at line 632 of file class.ilPermissionGUI.php.
References ilObjRole\_getTranslation(), ilUtil\_sortIds(), isInAdministration(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setValidationRegexp(), and ilUtil\sortArray().
Referenced by displayAddRoleForm().
|
protected |
Definition at line 159 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
|
protected |
Check of current location is administration (main) role folder.
Definition at line 154 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by doImportRole(), and perm().
|
protected |
Check if node is subobject of administration folder.
Definition at line 168 of file class.ilPermissionGUI.php.
References $GLOBALS, and getCurrentObject().
Referenced by initRoleForm().
ilPermissionGUI::perm | ( | ilTable2GUI | $table = NULL | ) |
show permission table
Definition at line 109 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), getCurrentObject(), isAdministrationObject(), and isAdminRoleFolder().
Referenced by applyFilter(), resetFilter(), and savePermissions().
|
protected |
Reset filter.
Definition at line 191 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
|
protected |
Save permissions.
Definition at line 295 of file class.ilPermissionGUI.php.
References $_POST, $log, ilRbacLog\add(), applyRoleFilter(), ilRbacLog\diffFaPa(), ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\gatherFaPa(), getCurrentObject(), ilObjectFactory\getInstanceByObjId(), hasContainerCommands(), initRoleFolder(), ilRbacReview\lookupCreateOperationIds(), perm(), ilUtil\sendSuccess(), and showConfirmBlockRole().
|
protected |
Show block role confirmation screen.
array | $a_roles |
Definition at line 446 of file class.ilPermissionGUI.php.
References ilObjRole\_getTranslation(), ilObject\_lookupTitle(), and ilUtil\sendInfo().
Referenced by savePermissions().
|
protected |
Definition at line 21 of file class.ilPermissionGUI.php.