ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
UI class for handling permissions that can be configured having the write permission for an object. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
Constructor. More... | |
determineRoles () | |
Determine roles. More... | |
setRoleRequiredPermissions ($a_val) | |
Set role required permissions (this permissions are required for a role to be listed) More... | |
getRoleRequiredPermissions () | |
Get role required permissions. More... | |
setRoleProhibitedPermissions ($a_val) | |
Set role prohibited permissions (this permissions are prohibited for a role to be listed) More... | |
getRoleProhibitedPermissions () | |
Get role prohibited permissions. More... | |
setPermissions ($a_val) | |
Set permissions. More... | |
getPermissions () | |
Get permissions. More... | |
executeCommand () | |
Execute command. More... | |
showForm () | |
Show form. More... | |
initPermissionForm () | |
Init permission form. More... | |
save () | |
Save form. More... | |
Protected Attributes | |
$permissions = array() | |
$base_permissions = array() | |
$base_permissions_by_op = array() | |
$role_required_permissions = array() | |
$role_prohibited_permissions = array() | |
UI class for handling permissions that can be configured having the write permission for an object.
Definition at line 13 of file class.ilSettingsPermissionGUI.php.
ilSettingsPermissionGUI::__construct | ( | $a_gui_obj | ) |
Constructor.
ilObjectGUI | $a_gui_obj | object gui object |
Definition at line 26 of file class.ilSettingsPermissionGUI.php.
References $ilCtrl, $lng, $tpl, and ilRbacReview\_getOperationList().
ilSettingsPermissionGUI::determineRoles | ( | ) |
Determine roles.
Definition at line 53 of file class.ilSettingsPermissionGUI.php.
References $r, array, getRoleProhibitedPermissions(), and getRoleRequiredPermissions().
Referenced by initPermissionForm(), and save().
ilSettingsPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 160 of file class.ilSettingsPermissionGUI.php.
References array.
ilSettingsPermissionGUI::getPermissions | ( | ) |
Get permissions.
Definition at line 152 of file class.ilSettingsPermissionGUI.php.
References $permissions.
Referenced by initPermissionForm(), and save().
ilSettingsPermissionGUI::getRoleProhibitedPermissions | ( | ) |
Get role prohibited permissions.
Definition at line 126 of file class.ilSettingsPermissionGUI.php.
References $role_prohibited_permissions.
Referenced by determineRoles().
ilSettingsPermissionGUI::getRoleRequiredPermissions | ( | ) |
Get role required permissions.
Definition at line 100 of file class.ilSettingsPermissionGUI.php.
References $role_required_permissions.
Referenced by determineRoles().
ilSettingsPermissionGUI::initPermissionForm | ( | ) |
Init permission form.
Definition at line 181 of file class.ilSettingsPermissionGUI.php.
References $form, $r, ilObjRole\_getTranslation(), array, determineRoles(), and getPermissions().
Referenced by save(), and showForm().
ilSettingsPermissionGUI::save | ( | ) |
Save form.
Definition at line 229 of file class.ilSettingsPermissionGUI.php.
References $form, $key, $r, array, determineRoles(), getPermissions(), initPermissionForm(), and ilUtil\sendSuccess().
ilSettingsPermissionGUI::setPermissions | ( | $a_val | ) |
Set permissions.
array | $a_val | array of operations (string) that should be offered |
Definition at line 136 of file class.ilSettingsPermissionGUI.php.
ilSettingsPermissionGUI::setRoleProhibitedPermissions | ( | $a_val | ) |
Set role prohibited permissions (this permissions are prohibited for a role to be listed)
array | $a_val | permissions prohibited to be listed |
Definition at line 110 of file class.ilSettingsPermissionGUI.php.
ilSettingsPermissionGUI::setRoleRequiredPermissions | ( | $a_val | ) |
Set role required permissions (this permissions are required for a role to be listed)
array | $a_val | permissions required to be listed |
Definition at line 84 of file class.ilSettingsPermissionGUI.php.
ilSettingsPermissionGUI::showForm | ( | ) |
Show form.
Definition at line 171 of file class.ilSettingsPermissionGUI.php.
References $form, and initPermissionForm().
|
protected |
Definition at line 16 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 17 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 15 of file class.ilSettingsPermissionGUI.php.
Referenced by getPermissions().
|
protected |
Definition at line 19 of file class.ilSettingsPermissionGUI.php.
Referenced by getRoleProhibitedPermissions().
|
protected |
Definition at line 18 of file class.ilSettingsPermissionGUI.php.
Referenced by getRoleRequiredPermissions().