|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 27 of file class.ilECSMappingSettingsGUI.php.
| ilECSMappingSettingsGUI::__construct | ( | ilECSSettingsGUI | $settingsContainer, |
| int | $server_id, | ||
| int | $mid | ||
| ) |
Constructor.
Definition at line 47 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $mid, ILIAS\Repository\ctrl(), ilECSSetting\getInstanceByServerId(), ILIAS\Repository\lng(), ILIAS\UI\examples\Progress\Bar\server(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Add one attribute in form.
Definition at line 201 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 113 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 210 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
Here is the call graph for this function:
|
protected |
Definition at line 415 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 250 of file class.ilECSMappingSettingsGUI.php.
References 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 153 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 372 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 439 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 219 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 126 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 589 of file class.ilECSMappingSettingsGUI.php.
References 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 710 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 738 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 777 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 1044 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 811 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 1058 of file class.ilECSMappingSettingsGUI.php.
References $_POST, $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 1124 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 571 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 987 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 954 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 141 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 914 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 926 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 683 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 640 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), initFormDSettings(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 883 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 89 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getServer(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ILIAS\Repository\lng(), and setTabs().
Here is the call graph for this function:| ilECSMappingSettingsGUI::getContainer | ( | ) |
Get container object.
Definition at line 67 of file class.ilECSMappingSettingsGUI.php.
References $container.
| ilECSMappingSettingsGUI::getMid | ( | ) |
Get mid.
Definition at line 81 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 72 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 457 of file class.ilECSMappingSettingsGUI.php.
References $check, $info, $path, $tpl, ILIAS\Repository\ctrl(), ILIAS\UICore\GlobalTemplate\get(), ilECSMappingUtils\getAuthModeSelection(), ilECSMappingUtils\getCourseMappingFieldSelectOptions(), ilECSCourseAttributes\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ILIAS\Repository\lng(), ROOT_FOLDER_ID, and ILIAS\UICore\GlobalTemplate\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 659 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 1162 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 1136 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 39 of file class.ilECSMappingSettingsGUI.php.
Referenced by getContainer().
|
protected |
Definition at line 34 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 33 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 32 of file class.ilECSMappingSettingsGUI.php.
|
private |
Definition at line 41 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct(), and getMid().
|
private |
Definition at line 40 of file class.ilECSMappingSettingsGUI.php.
Referenced by getServer().
|
private |
Definition at line 36 of file class.ilECSMappingSettingsGUI.php.
|
private |
Definition at line 37 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 35 of file class.ilECSMappingSettingsGUI.php.
Referenced by initFormCSettings().
| const ilECSMappingSettingsGUI::TAB_COURSE = 2 |
Definition at line 30 of file class.ilECSMappingSettingsGUI.php.
| const ilECSMappingSettingsGUI::TAB_DIRECTORY = 1 |
Definition at line 29 of file class.ilECSMappingSettingsGUI.php.