|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilSettingsPermissionGUI:Public Member Functions | |
| __construct (object $a_gui_obj) | |
| determineRoles () | |
| Determine roles. More... | |
| setRoleRequiredPermissions (array $a_val) | |
| Set role required permissions (this permissions are required for a role to be listed) More... | |
| getRoleRequiredPermissions () | |
| Get role required permissions. More... | |
| setRoleProhibitedPermissions (array $a_val) | |
| Set role prohibited permissions (this permissions are prohibited for a role to be listed) More... | |
| getRoleProhibitedPermissions () | |
| Get role prohibited permissions. More... | |
| setPermissions (array $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 | |
| array | $permissions = array() |
| array | $base_permissions = array() |
| array | $base_permissions_by_op = array() |
| array | $role_required_permissions = array() |
| array | $role_prohibited_permissions = array() |
| array | $base_roles = [] |
| ilRbacReview | $review |
| ilRbacAdmin | $admin |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
Private Attributes | |
| object | $obj |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning UI class for handling permissions that can be configured having the write permission for an object
Definition at line 28 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::__construct | ( | object | $a_gui_obj | ) |
Definition at line 45 of file class.ilSettingsPermissionGUI.php.
References $DIC, ilRbacReview\_getOperationList(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilSettingsPermissionGUI::determineRoles | ( | ) |
Determine roles.
Definition at line 68 of file class.ilSettingsPermissionGUI.php.
References getRoleProhibitedPermissions(), and getRoleRequiredPermissions().
Referenced by initPermissionForm(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSettingsPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 165 of file class.ilSettingsPermissionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilSettingsPermissionGUI::getPermissions | ( | ) |
Get permissions.
Definition at line 157 of file class.ilSettingsPermissionGUI.php.
References $permissions.
Referenced by initPermissionForm(), and save().
Here is the caller graph for this function:| ilSettingsPermissionGUI::getRoleProhibitedPermissions | ( | ) |
Get role prohibited permissions.
Definition at line 133 of file class.ilSettingsPermissionGUI.php.
References $role_prohibited_permissions.
Referenced by determineRoles().
Here is the caller graph for this function:| ilSettingsPermissionGUI::getRoleRequiredPermissions | ( | ) |
Get role required permissions.
Definition at line 109 of file class.ilSettingsPermissionGUI.php.
References $role_required_permissions.
Referenced by determineRoles().
Here is the caller graph for this function:| ilSettingsPermissionGUI::initPermissionForm | ( | ) |
Init permission form.
Definition at line 185 of file class.ilSettingsPermissionGUI.php.
References ilObjRole\_getTranslation(), ILIAS\Repository\ctrl(), determineRoles(), getPermissions(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Referenced by save(), and showForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSettingsPermissionGUI::save | ( | ) |
Save form.
Definition at line 227 of file class.ilSettingsPermissionGUI.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\ctrl(), determineRoles(), getPermissions(), initPermissionForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilSettingsPermissionGUI::setPermissions | ( | array | $a_val | ) |
Set permissions.
| array | $a_val | array of operations (string) that should be offered |
Definition at line 142 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::setRoleProhibitedPermissions | ( | array | $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 118 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::setRoleRequiredPermissions | ( | array | $a_val | ) |
Set role required permissions (this permissions are required for a role to be listed)
Definition at line 94 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::showForm | ( | ) |
Show form.
Definition at line 176 of file class.ilSettingsPermissionGUI.php.
References initPermissionForm().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 31 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 32 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 35 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 43 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 42 of file class.ilSettingsPermissionGUI.php.
|
private |
Definition at line 37 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 30 of file class.ilSettingsPermissionGUI.php.
Referenced by getPermissions().
|
protected |
Definition at line 39 of file class.ilSettingsPermissionGUI.php.
|
protected |
Definition at line 34 of file class.ilSettingsPermissionGUI.php.
Referenced by getRoleProhibitedPermissions().
|
protected |
Definition at line 33 of file class.ilSettingsPermissionGUI.php.
Referenced by getRoleRequiredPermissions().
|
protected |
Definition at line 41 of file class.ilSettingsPermissionGUI.php.