|
ILIAS
release_8 Revision v8.24
|
Class for ECS node and directory mapping settings. More...
Collaboration diagram for ilECSMappingSettingsGUI:Public Member Functions | |
| __construct (ilECSSettingsGUI $settingsContainer, int $server_id, int $mid) | |
| Constructor. More... | |
| getContainer () | |
| Get container object. More... | |
| getServer () | |
| getMid () | |
| Get mid. More... | |
| executeCommand () | |
| ilCtrl executeCommand More... | |
| cancel () | |
| return to parent container More... | |
Data Fields | |
| const | TAB_DIRECTORY = 1 |
| const | TAB_COURSE = 2 |
Protected Member Functions | |
| cStart () | |
| Goto default page. More... | |
| dStart () | |
| Goto default page. More... | |
| cInitOverview ($form=null, $current_attribute=null) | |
| Show overview page. More... | |
| cAddAttribute () | |
| Add one attribute in form. More... | |
| cDeleteAttribute () | |
| Delete last attribute in form. More... | |
| cShowLocalExplorer () | |
| Show local explorer. More... | |
| cInitMappingForm (int $current_node, $current_attribute) | |
| Init the mapping form. More... | |
| cSaveOverview () | |
| Save overview. More... | |
| cDeleteRulesOfNode () | |
| cSettings (ilPropertyFormGUI $form=null) | |
| Show course allocation. More... | |
| initFormCSettings () | |
| Init settings form. More... | |
| dSettings (ilPropertyFormGUI $form=null) | |
| Show directory allocation. More... | |
| cUpdateSettings () | |
| Update course settings. More... | |
| dUpdateSettings () | |
| Update node mapping settings. More... | |
| initFormDSettings () | |
| dTrees () | |
| Show directory trees. More... | |
| dConfirmDeleteTree () | |
| Delete tree settings. More... | |
| dDeleteTree () | |
| Delete tree. More... | |
| dEditTree (ilPropertyFormGUI $form=null) | |
| Edit directory tree assignments. More... | |
| dInitFormTreeSettings (ilPropertyFormGUI $form=null) | |
| Init form settings. More... | |
| dUpdateTreeSettings () | |
| dSynchronizeTree () | |
| Synchronize Tree. More... | |
| dSynchronizeTrees () | |
| dShowLocalExplorer () | |
| Show local explorer. More... | |
| dShowCmsExplorer (ilExplorer $localExplorer) | |
| Show cms explorer. More... | |
| dInitEditTree () | |
| Init tree. More... | |
| dMap () | |
| Do mapping. More... | |
| dMappingOverview () | |
| Show directory trees. More... | |
| setTabs () | |
| Set tabs. More... | |
| setSubTabs (int $a_tab) | |
| Set Sub tabs. More... | |
Protected Attributes | |
| ilLogger | $log |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilGlobalTemplateInterface | $tpl |
Private Attributes | |
| ilTabsGUI | $tabs |
| ilToolbarGUI | $toolbar |
| ilECSSettingsGUI | $container |
| ilECSSetting | $server |
| int | $mid |
Class for ECS node and directory mapping settings.
Definition at line 26 of file class.ilECSMappingSettingsGUI.php.
| ilECSMappingSettingsGUI::__construct | ( | ilECSSettingsGUI | $settingsContainer, |
| int | $server_id, | ||
| int | $mid | ||
| ) |
Constructor.
Definition at line 46 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $mid, ILIAS\Repository\ctrl(), ilECSSetting\getInstanceByServerId(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Add one attribute in form.
Definition at line 200 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
Here is the call graph for this function:| ilECSMappingSettingsGUI::cancel | ( | ) |
return to parent container
Definition at line 112 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Delete last attribute in form.
Definition at line 209 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
Here is the call graph for this function:
|
protected |
Definition at line 414 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getMid(), ilECSCourseMappingRule\getRulesOfRefId(), getServer(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Init the mapping form.
Definition at line 249 of file class.ilECSMappingSettingsGUI.php.
References $attributes, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ilECSCourseAttributes\getInstance(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), ilECSCourseMappingRule\hasRules(), and ILIAS\Repository\lng().
Referenced by cInitOverview(), and cSaveOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show overview page.
Definition at line 152 of file class.ilECSMappingSettingsGUI.php.
References cInitMappingForm(), cShowLocalExplorer(), ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\int(), ilECSCourseMappingRule\lookupLastExistingAttribute(), ROOT_FOLDER_ID, setSubTabs(), and ILIAS\Repository\tabs().
Referenced by cAddAttribute(), cDeleteAttribute(), cSaveOverview(), and cStart().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Save overview.
Definition at line 371 of file class.ilECSMappingSettingsGUI.php.
References cInitMappingForm(), cInitOverview(), ILIAS\Repository\ctrl(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Show course allocation.
Definition at line 438 of file class.ilECSMappingSettingsGUI.php.
References initFormCSettings(), setSubTabs(), and ILIAS\Repository\tabs().
Referenced by cStart(), and cUpdateSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show local explorer.
Definition at line 218 of file class.ilECSMappingSettingsGUI.php.
References $_GET, ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and ROOT_FOLDER_ID.
Referenced by cInitOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Goto default page.
Definition at line 125 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
Here is the call graph for this function:
|
protected |
Update course settings.
Definition at line 588 of file class.ilECSMappingSettingsGUI.php.
References $attributes, $name, ILIAS\LTI\ToolProvider\$settings, cSettings(), ILIAS\Repository\ctrl(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), initFormCSettings(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Delete tree settings.
Definition at line 709 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\lng(), ilECSCmsData\lookupTitle(), setSubTabs(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Delete tree.
Definition at line 737 of file class.ilECSMappingSettingsGUI.php.
References $data, ILIAS\Repository\ctrl(), ilECSNodeMappingAssignments\deleteMappings(), ilECSImportManager\getInstance(), getMid(), getServer(), ILIAS\Repository\lng(), ilECSCmsData\lookupCmsIdsOfTree(), and ilECSCmsTree\lookupRootId().
Here is the call graph for this function:
|
protected |
Edit directory tree assignments.
Definition at line 776 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), dInitFormTreeSettings(), dShowCmsExplorer(), dShowLocalExplorer(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by dInitEditTree(), and dUpdateTreeSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init tree.
Definition at line 1043 of file class.ilECSMappingSettingsGUI.php.
References dEditTree(), getMid(), getServer(), and ilECSCmsData\updateStatus().
Here is the call graph for this function:
|
protected |
Init form settings.
Definition at line 810 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\lng(), ilECSCmsData\lookupCmsId(), ilECSMappingUtils\lookupMappingStatus(), ilECSCmsTree\lookupRootId(), ilECSMappingUtils\MAPPED_MANUAL, and ilECSMappingUtils\mappingStatusToString().
Referenced by dEditTree(), and dUpdateTreeSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Do mapping.
Definition at line 1057 of file class.ilECSMappingSettingsGUI.php.
References $ref_id, ilObject\_lookupObjId(), ILIAS\Repository\ctrl(), ilECSNodeMappingAssignments\deleteDisconnectableMappings(), ilECSNodeMappingAssignments\deleteMappingsByCsId(), getMid(), getServer(), ILIAS\Repository\lng(), ilECSNodeMappingAssignments\lookupDefaultTitleUpdate(), and ilECSCmsData\updateStatus().
Here is the call graph for this function:
|
protected |
Show directory trees.
Definition at line 1123 of file class.ilECSMappingSettingsGUI.php.
References setSubTabs(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Show directory allocation.
Definition at line 570 of file class.ilECSMappingSettingsGUI.php.
References initFormDSettings(), setSubTabs(), and ILIAS\Repository\tabs().
Referenced by dStart().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show cms explorer.
Definition at line 986 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $ref_id, ILIAS\Repository\ctrl(), getMid(), getServer(), ilECSNodeMappingAssignments\lookupMappedItemsForRefId(), and ilECSCmsTree\lookupRootId().
Referenced by dEditTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show local explorer.
Definition at line 953 of file class.ilECSMappingSettingsGUI.php.
References $_GET, ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and ROOT_FOLDER_ID.
Referenced by dEditTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Goto default page.
Definition at line 140 of file class.ilECSMappingSettingsGUI.php.
References dSettings(), dTrees(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
Here is the call graph for this function:
|
protected |
Synchronize Tree.
Definition at line 913 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getServer(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 925 of file class.ilECSMappingSettingsGUI.php.
References Vendor\Package\$e, $res, ILIAS\Repository\ctrl(), ilLogLevel\DEBUG, getServer(), ilECSEventQueueReader\TYPE_DIRECTORY_TREES, and ilECSEvent\UPDATED.
Here is the call graph for this function:
|
protected |
Show directory trees.
Definition at line 682 of file class.ilECSMappingSettingsGUI.php.
References getMid(), getServer(), ILIAS\Repository\lng(), setSubTabs(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Referenced by dStart().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Update node mapping settings.
Definition at line 639 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$settings, ILIAS\Repository\ctrl(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), initFormDSettings(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 882 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), dEditTree(), dInitFormTreeSettings(), getMid(), getServer(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilECSMappingSettingsGUI::executeCommand | ( | ) |
ilCtrl executeCommand
Definition at line 88 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getServer(), ILIAS\Repository\lng(), and setTabs().
Here is the call graph for this function:| ilECSMappingSettingsGUI::getContainer | ( | ) |
Get container object.
Definition at line 66 of file class.ilECSMappingSettingsGUI.php.
References $container.
| ilECSMappingSettingsGUI::getMid | ( | ) |
Get mid.
Definition at line 80 of file class.ilECSMappingSettingsGUI.php.
References $mid.
Referenced by cAddAttribute(), cDeleteAttribute(), cDeleteRulesOfNode(), cInitMappingForm(), cInitOverview(), cSaveOverview(), cStart(), cUpdateSettings(), dConfirmDeleteTree(), dDeleteTree(), dInitEditTree(), dInitFormTreeSettings(), dMap(), dShowCmsExplorer(), dStart(), dTrees(), dUpdateSettings(), dUpdateTreeSettings(), initFormCSettings(), initFormDSettings(), setSubTabs(), and setTabs().
Here is the caller graph for this function:| ilECSMappingSettingsGUI::getServer | ( | ) |
Definition at line 71 of file class.ilECSMappingSettingsGUI.php.
References $server.
Referenced by cAddAttribute(), cDeleteAttribute(), cDeleteRulesOfNode(), cInitMappingForm(), cInitOverview(), cSaveOverview(), cStart(), cUpdateSettings(), dConfirmDeleteTree(), dDeleteTree(), dInitEditTree(), dInitFormTreeSettings(), dMap(), dShowCmsExplorer(), dStart(), dSynchronizeTree(), dSynchronizeTrees(), dTrees(), dUpdateSettings(), dUpdateTreeSettings(), executeCommand(), initFormCSettings(), initFormDSettings(), setSubTabs(), and setTabs().
Here is the caller graph for this function:
|
protected |
Init settings form.
Definition at line 456 of file class.ilECSMappingSettingsGUI.php.
References $attributes, $check, $name, $path, $tpl, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), ilECSMappingUtils\getAuthModeSelection(), ilECSMappingUtils\getCourseMappingFieldSelectOptions(), ilECSCourseAttributes\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ILIAS\Repository\lng(), ROOT_FOLDER_ID, and ilGlobalTemplateInterface\setVariable().
Referenced by cSettings(), and cUpdateSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 658 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), and ILIAS\Repository\lng().
Referenced by dSettings(), and dUpdateSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Set Sub tabs.
Definition at line 1161 of file class.ilECSMappingSettingsGUI.php.
References ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by cInitOverview(), cSettings(), dConfirmDeleteTree(), dMappingOverview(), dSettings(), and dTrees().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Set tabs.
Definition at line 1135 of file class.ilECSMappingSettingsGUI.php.
References ilECSParticipantSettings\getInstanceByServerId(), getMid(), getServer(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 38 of file class.ilECSMappingSettingsGUI.php.
Referenced by getContainer().
|
protected |
Definition at line 33 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 32 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 31 of file class.ilECSMappingSettingsGUI.php.
|
private |
Definition at line 40 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct(), and getMid().
|
private |
Definition at line 39 of file class.ilECSMappingSettingsGUI.php.
Referenced by getServer().
|
private |
Definition at line 35 of file class.ilECSMappingSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 34 of file class.ilECSMappingSettingsGUI.php.
Referenced by initFormCSettings().
| const ilECSMappingSettingsGUI::TAB_COURSE = 2 |
Definition at line 29 of file class.ilECSMappingSettingsGUI.php.
| const ilECSMappingSettingsGUI::TAB_DIRECTORY = 1 |
Definition at line 28 of file class.ilECSMappingSettingsGUI.php.