|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjRoleGUI. More...
Inheritance diagram for ilObjRoleGUI:
Collaboration diagram for ilObjRoleGUI:Public Member Functions | |
| __construct ($a_data, $a_id, $a_call_by_reference=false, $a_prepare_output=true) | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| getParentRefId () | |
| Get ref id of current object (not role folder id) More... | |
| getParentObjId () | |
| Get obj_id of current object. More... | |
| getParentType () | |
| get type of current object (not role folder) More... | |
| setBackTarget ($a_text, $a_link) | |
| set back tab target More... | |
| getBackTarget () | |
| getAdminTabs () | |
| admin and normal tabs are equal for roles More... | |
| createObject () | |
| Only called from administration -> role folder ? Otherwise this check access is wrong. More... | |
| editObject () | |
| Edit role properties. More... | |
| saveObject () | |
| Save new role. More... | |
| updateObject () | |
| Save role settings. More... | |
| permSaveObject ($a_show_admin_permissions=false) | |
| save permissions More... | |
| adoptPermSaveObject () | |
| copy permissions from role More... | |
| assignSaveObject () | |
| wrapper for renamed function More... | |
| addUserObject ($a_user_ids) | |
| Assign user (callback from ilRepositorySearchGUI) More... | |
| deassignUserObject () | |
| de-assign users from role More... | |
| userassignmentObject () | |
| display user assignment panel More... | |
| cancelObject () | |
| cancelObject is called when an operation is canceled, method links back @access public More... | |
| listUsersRoleObject () | |
| __prepareOutput () | |
| __setHeader () | |
| getTabs () | |
| get tabs abstract method. More... | |
| mailToRoleObject () | |
| checkAccess ($a_perm_global, $a_perm_obj='') | |
Public Member Functions inherited from ilObjectGUI | |
| executeCommand () | |
| execute command More... | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) More... | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
| getCreationMode () | |
| get creation mode More... | |
| prepareOutput ($a_show_subobjects=true) | |
| prepare output More... | |
| getAdminTabs () | |
| administration tabs show only permissions and trash folder More... | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
| cancelDeleteObject () | |
| cancel deletion of object More... | |
| cancelObject () | |
| cancel action and go back to previous page @access public More... | |
| createObject () | |
| create new object form More... | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| save object More... | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| edit object More... | |
| addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. More... | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| viewObject container presentation for "administration -> repository, trash, permissions" More... | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. More... | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
| redirectAfterCreation () | |
| Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
| addToDeskObject () | |
| @inheritDoc More... | |
| removeFromDeskObject () | |
| @inheritDoc More... | |
Data Fields | |
| const | MODE_GLOBAL_UPDATE = 1 |
| const | MODE_GLOBAL_CREATE = 2 |
| const | MODE_LOCAL_UPDATE = 3 |
| const | MODE_LOCAL_CREATE = 4 |
| $type | |
| $ctrl | |
Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 |
| $objDefinition | |
| $tpl | |
| $tree | |
| $lng | |
| $data | |
| $object | |
| $ref_id | |
| $obj_id | |
| $maxcount | |
| $formaction | |
| $return_location | |
| $target_frame | |
| $tab_target_script | |
| $actions | |
| $sub_objects | |
| $omit_locator = false | |
| const | CFORM_NEW = 1 |
| const | CFORM_IMPORT = 2 |
| const | CFORM_CLONE = 3 |
Protected Member Functions | ||||
| getContainerType () | ||||
| Get type of role container. More... | ||||
| showDefaultPermissionSettings () | ||||
| check if default permissions are shown or not More... | ||||
| initFormRoleProperties ($a_mode) | ||||
| Create role prperty form. More... | ||||
| loadRoleProperties (ilObjRole $role) | ||||
| Store form input in role object. More... | ||||
| readRoleProperties (ilObjRole $role) | ||||
| Read role properties and write them to form. More... | ||||
| checkDuplicate ($a_role_id=0) | ||||
| Check if role with same name already exists in this folder. More... | ||||
| permObject ($a_show_admin_permissions=false) | ||||
| Show template permissions. More... | ||||
| adminPermObject () | ||||
| Show administration permissions. More... | ||||
| adminPermSaveObject () | ||||
| Save admin permissions. More... | ||||
| adoptPermObject () | ||||
| confirmDeleteRoleObject () | ||||
| Show delete confirmation screen. More... | ||||
| performDeleteRoleObject () | ||||
| Delete role. More... | ||||
| addAdminLocatorItems ($a_do_not_add_object=false) | ||||
should be overwritten to add object specific items (repository items are preloaded)
| ||||
| isChangeExistingObjectsConfirmationRequired () | ||||
| Check if a confirmation about further settings is required or not. More... | ||||
| showChangeExistingObjectsConfirmation () | ||||
| Show confirmation screen. More... | ||||
| changeExistingObjectsObject () | ||||
| Change existing objects. More... | ||||
| setSubTabs ($a_tab) | ||||
| Set sub tabs. More... | ||||
| addToClipboardObject () | ||||
| Add selected users to user clipboard. More... | ||||
| addLocatorItems () | ||||
| should be overwritten to add object specific items (repository items are preloaded) More... | ||||
| ensureRoleAccessForContext () | ||||
Protected Member Functions inherited from ilObjectGUI | ||||
| getObjectService () | ||||
| Get object service. More... | ||||
| assignObject () | ||||
| setTitleAndDescription () | ||||
| called by prepare output More... | ||||
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | ||||
| Add header action menu. More... | ||||
| insertHeaderAction ($a_list_gui) | ||||
| Insert header action into main template. More... | ||||
| addHeaderAction () | ||||
| Add header action menu. More... | ||||
| redrawHeaderActionObject () | ||||
| Ajax call: redraw action header only. More... | ||||
| setTabs () | ||||
| set admin tabs @access public More... | ||||
| setAdminTabs () | ||||
| set admin tabs @access public More... | ||||
| setLocator () | ||||
| set Locator More... | ||||
| addLocatorItems () | ||||
| should be overwritten to add object specific items (repository items are preloaded) More... | ||||
| omitLocator ($a_omit=true) | ||||
| addAdminLocatorItems ($a_do_not_add_object=false) | ||||
| should be overwritten to add object specific items (repository items are preloaded) More... | ||||
| initCreationForms ($a_new_type) | ||||
| Init creation froms. More... | ||||
| getCreationFormsHTML (array $a_forms) | ||||
| Get HTML for creation forms (accordion) More... | ||||
| initCreateForm ($a_new_type) | ||||
| Init object creation form. More... | ||||
| initDidacticTemplate (ilPropertyFormGUI $form) | ||||
| Show didactic template types. More... | ||||
| addDidacticTemplateOptions (array &$a_options) | ||||
| Add custom templates. More... | ||||
| afterSave (ilObject $a_new_object) | ||||
| Post (successful) object creation hook. More... | ||||
| initEditForm () | ||||
| Init object edit form. More... | ||||
| initEditCustomForm (ilPropertyFormGUI $a_form) | ||||
| Add custom fields to update form. More... | ||||
| getEditFormValues () | ||||
| Get values for edit form. More... | ||||
| getEditFormCustomValues (array &$a_values) | ||||
| Add values to custom edit fields. More... | ||||
| validateCustom (ilPropertyFormGUI $a_form) | ||||
| Validate custom values (if not possible with checkInput()) More... | ||||
| updateCustom (ilPropertyFormGUI $a_form) | ||||
| Insert custom update form values into object. More... | ||||
| afterUpdate () | ||||
| Post (successful) object update hook. More... | ||||
| initImportForm ($a_new_type) | ||||
| Init object import form. More... | ||||
| importFileObject ($parent_id=null, $a_catch_errors=true) | ||||
| Import. More... | ||||
| afterImport (ilObject $a_new_object) | ||||
| Post (successful) object import hook. More... | ||||
| setFormAction ($a_cmd, $a_formaction) | ||||
| set specific form action for command More... | ||||
| getReturnLocation ($a_cmd, $a_location="") | ||||
| get return location for command (command is method name without "Object", e.g. More... | ||||
| setReturnLocation ($a_cmd, $a_location) | ||||
| set specific return location for command More... | ||||
| getTargetFrame ($a_cmd, $a_target_frame="") | ||||
| get target frame for command (command is method name without "Object", e.g. More... | ||||
| setTargetFrame ($a_cmd, $a_target_frame) | ||||
| set specific target frame for command More... | ||||
| showPossibleSubObjects () | ||||
| show possible subobjects (pulldown menu) More... | ||||
| getTemplateFile ($a_cmd, $a_type="") | ||||
| get a template blockfile format: tpl. More... | ||||
| getTabs () | ||||
| get tabs abstract method. More... | ||||
| __showButton ($a_cmd, $a_text, $a_target='') | ||||
| hitsperpageObject () | ||||
| & | __initTableGUI () | |||
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | ||||
| standard implementation for tables use 'from' variable use different initial setting of table More... | ||||
| redirectToRefId ($a_ref_id, $a_cmd="") | ||||
| redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More... | ||||
| fillCloneTemplate ($a_tpl_varname, $a_type) | ||||
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | ||||
| getCenterColumnHTML () | ||||
| Get center column. More... | ||||
| getRightColumnHTML () | ||||
| Display right column. More... | ||||
| setColumnSettings (ilColumnGUI $column_gui) | ||||
| May be overwritten in subclasses. More... | ||||
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | ||||
| Check permission and redirect on error. More... | ||||
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | ||||
| Check permission. More... | ||||
| enableDragDropFileUpload () | ||||
| Enables the file upload into this object by dropping files. More... | ||||
| handleAutoRating (ilObject $a_new_obj) | ||||
| Activate rating automatically if parent container setting. More... | ||||
Protected Attributes | |
| $obj_ref_id = 0 | |
| $obj_obj_id = 0 | |
| $obj_obj_type = '' | |
| $container_type = '' | |
Protected Attributes inherited from ilObjectGUI | |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $rbacsystem | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
| $favourites | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. More... | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. More... | |
Class ilObjRoleGUI.
@ilCtrl_Calls ilObjRoleGUI: ilRepositorySearchGUI, ilExportGUI, ilRecommendedContentRoleConfigGUI
Definition at line 20 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::__construct | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = false, |
|||
$a_prepare_output = true |
|||
| ) |
Constructor @access public.
Definition at line 47 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjectGUI\$tree, ILIAS\GlobalScreen\Provider\__construct(), ilObject\_lookupObjId(), ilObject\_lookupType(), getParentObjId(), and getParentRefId().
Here is the call graph for this function:| ilObjRoleGUI::__prepareOutput | ( | ) |
Definition at line 1169 of file class.ilObjRoleGUI.php.
References __setHeader(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjRoleGUI::__setHeader | ( | ) |
Definition at line 1187 of file class.ilObjRoleGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by __prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
| bool | $a_do_not_add_object |
Reimplemented from ilObjectGUI.
Definition at line 1200 of file class.ilObjRoleGUI.php.
References $_GET, $DIC, ilObjRole\_getTranslation(), ilObject\_lookupObjId(), and ilObject\_lookupType().
Here is the call graph for this function:
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 1501 of file class.ilObjRoleGUI.php.
References $_GET, $DIC, and ilObjRole\_getTranslation().
Here is the call graph for this function:
|
protected |
Add selected users to user clipboard.
Definition at line 1476 of file class.ilObjRoleGUI.php.
References $_POST, $DIC, $GLOBALS, $ilCtrl, ilObjectGUI\$lng, ilUserClipboard\getInstance(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjRoleGUI::addUserObject | ( | $a_user_ids | ) |
Assign user (callback from ilRepositorySearchGUI)
| array | $a_user_ids | Array of user ids |
Definition at line 907 of file class.ilObjRoleGUI.php.
References $DIC, $GLOBALS, ilObjectGUI\$rbacreview, ilObjectGUI\$user, checkAccess(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Show administration permissions.
Definition at line 603 of file class.ilObjRoleGUI.php.
References permObject().
Here is the call graph for this function:
|
protected |
Save admin permissions.
Definition at line 612 of file class.ilObjRoleGUI.php.
References permSaveObject().
Here is the call graph for this function:
|
protected |
Definition at line 617 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$rbacreview, ilObjRole\_getTranslation(), and ilUtil\_sortIds().
Referenced by adoptPermSaveObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::adoptPermSaveObject | ( | ) |
copy permissions from role
@access public
Definition at line 844 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$access, $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$tree, ilObjRole\_getTranslation(), adoptPermObject(), checkAccess(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjRoleGUI::assignSaveObject | ( | ) |
wrapper for renamed function
@access public
Definition at line 895 of file class.ilObjRoleGUI.php.
| ilObjRoleGUI::cancelObject | ( | ) |
cancelObject is called when an operation is canceled, method links back @access public
Reimplemented from ilObjectGUI.
Definition at line 1105 of file class.ilObjRoleGUI.php.
References $_GET.
|
protected |
Change existing objects.
Definition at line 1428 of file class.ilObjRoleGUI.php.
References $_POST, $DIC, $obj_ref_id, ilObjectGUI\$rbacreview, ilObjectGUI\$tree, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjRoleGUI::checkAccess | ( | $a_perm_global, | |
$a_perm_obj = '' |
|||
| ) |
Definition at line 1320 of file class.ilObjRoleGUI.php.
References $DIC, and ilObjectGUI\$rbacsystem.
Referenced by addUserObject(), adoptPermSaveObject(), confirmDeleteRoleObject(), deassignUserObject(), editObject(), executeCommand(), getTabs(), performDeleteRoleObject(), permObject(), permSaveObject(), and userassignmentObject().
Here is the caller graph for this function:
|
protected |
Check if role with same name already exists in this folder.
Definition at line 458 of file class.ilObjRoleGUI.php.
|
protected |
Show delete confirmation screen.
Definition at line 658 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$access, $DIC, ilObjectGUI\$ilErr, $ilUser, ilObjectGUI\$rbacreview, ilObjRole\_getTranslation(), checkAccess(), ilUtil\getImagePath(), and ilUtil\sendQuestion().
Here is the call graph for this function:| ilObjRoleGUI::createObject | ( | ) |
Only called from administration -> role folder ? Otherwise this check access is wrong.
Reimplemented from ilObjectGUI.
Definition at line 370 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$rbacsystem, and initFormRoleProperties().
Here is the call graph for this function:| ilObjRoleGUI::deassignUserObject | ( | ) |
de-assign users from role
@access public
Definition at line 957 of file class.ilObjRoleGUI.php.
References $_GET, $_POST, $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$user, checkAccess(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjRoleGUI::editObject | ( | ) |
Edit role properties.
Reimplemented from ilObjectGUI.
Definition at line 388 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$ilErr, $ilSetting, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, checkAccess(), initFormRoleProperties(), and readRoleProperties().
Here is the call graph for this function:
|
protected |
Definition at line 1529 of file class.ilObjRoleGUI.php.
References $DIC, and Vendor\Package\$e.
Referenced by executeCommand().
Here is the caller graph for this function:| ilObjRoleGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 79 of file class.ilObjRoleGUI.php.
References $DIC, $GLOBALS, ilObjectGUI\$rbacsystem, $ret, ilExportOptions\allocateExportId(), checkAccess(), ensureRoleAccessForContext(), ilExportOptions\KEY_ROOT, ilExportOptions\newInstance(), ilObjectGUI\prepareOutput(), and showDefaultPermissionSettings().
Here is the call graph for this function:| ilObjRoleGUI::getAdminTabs | ( | ) |
admin and normal tabs are equal for roles
Reimplemented from ilObjectGUI.
Definition at line 190 of file class.ilObjRoleGUI.php.
References getTabs().
Here is the call graph for this function:| ilObjRoleGUI::getBackTarget | ( | ) |
Definition at line 182 of file class.ilObjRoleGUI.php.
|
protected |
Get type of role container.
Definition at line 199 of file class.ilObjRoleGUI.php.
References $container_type.
Referenced by showDefaultPermissionSettings().
Here is the caller graph for this function:| ilObjRoleGUI::getParentObjId | ( | ) |
Get obj_id of current object.
Definition at line 159 of file class.ilObjRoleGUI.php.
References $obj_obj_id.
Referenced by __construct().
Here is the caller graph for this function:| ilObjRoleGUI::getParentRefId | ( | ) |
Get ref id of current object (not role folder id)
Definition at line 150 of file class.ilObjRoleGUI.php.
References $obj_ref_id.
Referenced by __construct(), and permObject().
Here is the caller graph for this function:| ilObjRoleGUI::getParentType | ( | ) |
get type of current object (not role folder)
Definition at line 168 of file class.ilObjRoleGUI.php.
References $obj_obj_type.
Referenced by permObject(), and permSaveObject().
Here is the caller graph for this function:| ilObjRoleGUI::getTabs | ( | ) |
get tabs abstract method.
@abstract overwrite in derived GUI class of your object type @access public
| object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 1230 of file class.ilObjRoleGUI.php.
References $_GET, $DIC, ilObjectGUI\$rbacreview, checkAccess(), and showDefaultPermissionSettings().
Referenced by __setHeader(), and getAdminTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Create role prperty form.
| int | $a_mode |
Definition at line 224 of file class.ilObjRoleGUI.php.
References ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObjRole\isAutoGenerated(), MODE_GLOBAL_CREATE, MODE_GLOBAL_UPDATE, MODE_LOCAL_CREATE, and MODE_LOCAL_UPDATE.
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if a confirmation about further settings is required or not.
Definition at line 1340 of file class.ilObjRoleGUI.php.
References $_POST, $DIC, and ilObjectGUI\$rbacreview.
Referenced by permSaveObject().
Here is the caller graph for this function:| ilObjRoleGUI::listUsersRoleObject | ( | ) |
Definition at line 1115 of file class.ilObjRoleGUI.php.
References $_POST, $_SESSION, $DIC, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$user, ilObjectGUI\__showButton(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Store form input in role object.
| object | $role |
Definition at line 319 of file class.ilObjRoleGUI.php.
References ilUtil\MB2Bytes(), ilObjRole\setAllowRegister(), ilObject\setDescription(), ilObjRole\setDiskQuota(), ilObjRole\setPersonalWorkspaceDiskQuota(), ilObject\setTitle(), and ilObjRole\toggleAssignUsersStatus().
Referenced by saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::mailToRoleObject | ( | ) |
Definition at line 1306 of file class.ilObjRoleGUI.php.
References $_SESSION, ilObject\_getIdsForTitle(), ilMailFormCall\getRedirectTarget(), and ilUtil\redirect().
Here is the call graph for this function:
|
protected |
Delete role.
Definition at line 701 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$access, $DIC, ilObjectGUI\$ilErr, and checkAccess().
Here is the call graph for this function:
|
protected |
Show template permissions.
Definition at line 498 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$objDefinition, ilObjectGUI\$rbacreview, checkAccess(), ilAccordionGUI\FORCE_ALL_OPEN, getParentRefId(), getParentType(), and setSubTabs().
Referenced by adminPermObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::permSaveObject | ( | $a_show_admin_permissions = false | ) |
save permissions
@access public
Definition at line 724 of file class.ilObjRoleGUI.php.
References $_POST, ilObjectGUI\$access, $DIC, $obj_ref_id, ilObjectGUI\$objDefinition, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilObjectGUI\$tree, ilRbacLog\add(), checkAccess(), ilRbacLog\diffTemplate(), ilRbacLog\EDIT_TEMPLATE, ilRbacLog\gatherTemplate(), getParentType(), ilRbacLog\isActive(), isChangeExistingObjectsConfirmationRequired(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, showChangeExistingObjectsConfirmation(), and ilUtil\tf2yn().
Referenced by adminPermSaveObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Read role properties and write them to form.
| object | $role |
Definition at line 340 of file class.ilObjRoleGUI.php.
References ilObjectGUI\$data, $DIC, ilObjectGUI\$rbacreview, ilObjRole\_getTranslation(), ilDiskQuotaActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isPersonalWorkspaceActive(), ilObject\_lookupType(), ilUtil\Bytes2MB(), ilObjRole\getAllowRegister(), ilObjRole\getAssignUsersStatus(), ilObject\getDescription(), ilObjRole\getDiskQuota(), ilObject\getId(), ilObjRole\getPersonalWorkspaceDiskQuota(), and ilObject\getTitle().
Referenced by editObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::saveObject | ( | ) |
Save new role.
Reimplemented from ilObjectGUI.
Definition at line 425 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$rbacreview, initFormRoleProperties(), loadRoleProperties(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjRoleGUI::setBackTarget | ( | $a_text, | |
| $a_link | |||
| ) |
set back tab target
Definition at line 176 of file class.ilObjRoleGUI.php.
|
protected |
Set sub tabs.
| object | $a_tab |
Definition at line 1450 of file class.ilObjRoleGUI.php.
References $DIC.
Referenced by permObject().
Here is the caller graph for this function:
|
protected |
Show confirmation screen.
Definition at line 1366 of file class.ilObjRoleGUI.php.
References $_POST, ilObjRole\MODE_PROTECTED_DELETE_LOCAL_POLICIES, ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_DELETE_LOCAL_POLICIES, and ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES.
Referenced by permSaveObject().
Here is the caller graph for this function:
|
protected |
check if default permissions are shown or not
Definition at line 208 of file class.ilObjRoleGUI.php.
References $DIC, ilObjectGUI\$objDefinition, and getContainerType().
Referenced by executeCommand(), and getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjRoleGUI::updateObject | ( | ) |
Save role settings.
Reimplemented from ilObjectGUI.
Definition at line 468 of file class.ilObjRoleGUI.php.
References $DIC, initFormRoleProperties(), loadRoleProperties(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjRoleGUI::userassignmentObject | ( | ) |
display user assignment panel
Definition at line 1022 of file class.ilObjRoleGUI.php.
References $DIC, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$rbacreview, ilObjectGUI\$rbacsystem, ilSecuritySettings\_getInstance(), checkAccess(), and ilRepositorySearchGUI\fillAutoCompleteToolbar().
Here is the call graph for this function:
|
protected |
Definition at line 38 of file class.ilObjRoleGUI.php.
Referenced by getContainerType().
| ilObjRoleGUI::$ctrl |
Definition at line 41 of file class.ilObjRoleGUI.php.
|
protected |
Definition at line 36 of file class.ilObjRoleGUI.php.
Referenced by getParentObjId().
|
protected |
Definition at line 37 of file class.ilObjRoleGUI.php.
Referenced by getParentType().
|
protected |
Definition at line 35 of file class.ilObjRoleGUI.php.
Referenced by changeExistingObjectsObject(), getParentRefId(), and permSaveObject().
| ilObjRoleGUI::$type |
Definition at line 32 of file class.ilObjRoleGUI.php.
| const ilObjRoleGUI::MODE_GLOBAL_CREATE = 2 |
Definition at line 23 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_GLOBAL_UPDATE = 1 |
Definition at line 22 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_LOCAL_CREATE = 4 |
Definition at line 25 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().
| const ilObjRoleGUI::MODE_LOCAL_UPDATE = 3 |
Definition at line 24 of file class.ilObjRoleGUI.php.
Referenced by initFormRoleProperties().