ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
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 | |
confirmTemplateSwitch () | |
Called after toolbar action applyTemplateSwitch. | |
isAdminRoleFolder () | |
Check of current location is administration (main) role folder. | |
isAdministrationObject () | |
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 115 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 143 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 411 of file class.ilPermissionGUI.php.
References $_POST, getCurrentObject(), and ilUtil\sendInfo().
|
protected |
Called after toolbar action applyTemplateSwitch.
Definition at line 45 of file class.ilPermissionGUI.php.
ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 37 of file class.ilPermissionGUI.php.
Referenced by applyFilter(), blockRoles(), initRoleFolder(), isAdministrationObject(), isAdminRoleFolder(), perm(), resetFilter(), and savePermissions().
|
static |
Check if container commands are possible for the current object type.
object | $a_type |
Definition at line 467 of file class.ilPermissionGUI.php.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
|
protected |
Init role folder of object.
object | $a_create | [optional] |
Definition at line 448 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by savePermissions().
|
protected |
Definition at line 106 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
|
protected |
Check of current location is administration (main) role folder.
Definition at line 101 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
ilPermissionGUI::perm | ( | ilTable2GUI | $table = NULL | ) |
show permission table
Definition at line 59 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), getCurrentObject(), isAdministrationObject(), and isAdminRoleFolder().
Referenced by applyFilter(), resetFilter(), and savePermissions().
|
protected |
Reset filter.
Definition at line 128 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
|
protected |
Save permissions.
Definition at line 232 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 383 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.