ILIAS
eassessment Revision 61809
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
Constructor. | |
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 | |
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 () |
Static Public Member Functions | |
static | hasContainerCommands ($a_type) |
Check if container commands are possible for the current object type. |
Protected Member Functions | |
isAdminRoleFolder () | |
Check of current location is administration (main) role 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. |
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.
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 83 of file class.ilPermissionGUI.php.
References getCurrentObject(), and ilPermission2GUI\perm().
ilPermissionGUI::applyRoleFilter | ( | $a_roles, | |
$a_filter_id | |||
) |
Apply filter to roles.
int | $a_filter_id |
Definition at line 111 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 379 of file class.ilPermissionGUI.php.
References $_POST, getCurrentObject(), and ilUtil\sendInfo().
ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 37 of file class.ilPermissionGUI.php.
Referenced by applyFilter(), blockRoles(), initRoleFolder(), isAdminRoleFolder(), perm(), resetFilter(), and savePermissions().
|
static |
Check if container commands are possible for the current object type.
object | $a_type |
Definition at line 435 of file class.ilPermissionGUI.php.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
|
protected |
Init role folder of object.
object | $a_create | [optional] |
Definition at line 416 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by savePermissions().
|
protected |
Check of current location is administration (main) role folder.
Definition at line 74 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
ilPermissionGUI::perm | ( | ilTable2GUI | $table = NULL | ) |
show permission table
Definition at line 46 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), getCurrentObject(), and isAdminRoleFolder().
|
protected |
Reset filter.
Definition at line 96 of file class.ilPermissionGUI.php.
References getCurrentObject(), and ilPermission2GUI\perm().
|
protected |
Save permissions.
Definition at line 200 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(), ilPermission2GUI\perm(), ilUtil\sendSuccess(), and showConfirmBlockRole().
|
protected |
Show block role confirmation screen.
array | $a_roles |
Definition at line 351 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.