|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
UI class for handling permissions that can be configured having the write permission for an object. More...
Collaboration diagram for ilSettingsPermissionGUI: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 $DIC, $ilCtrl, $lng, $tpl, and ilRbacReview\_getOperationList().
Here is the call graph for this function:| ilSettingsPermissionGUI::determineRoles | ( | ) |
Determine roles.
Definition at line 59 of file class.ilSettingsPermissionGUI.php.
References $DIC, $r, 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 168 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::getPermissions | ( | ) |
Get permissions.
Definition at line 160 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 134 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 108 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 189 of file class.ilSettingsPermissionGUI.php.
References $DIC, $form, $r, ilObjRole\_getTranslation(), determineRoles(), and getPermissions().
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 239 of file class.ilSettingsPermissionGUI.php.
References $DIC, $form, $key, $r, determineRoles(), getPermissions(), and initPermissionForm().
Here is the call graph for this function:| ilSettingsPermissionGUI::setPermissions | ( | $a_val | ) |
Set permissions.
| array | $a_val | array of operations (string) that should be offered |
Definition at line 144 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 118 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 92 of file class.ilSettingsPermissionGUI.php.
| ilSettingsPermissionGUI::showForm | ( | ) |
Show form.
Definition at line 179 of file class.ilSettingsPermissionGUI.php.
References $form, and initPermissionForm().
Here is the call graph for this function:
|
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().