ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Class for ECS node and directory mapping settings. More...
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().
|
protected |
Add one attribute in form.
Definition at line 201 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), getServer(), and null.
ilECSMappingSettingsGUI::cancel | ( | ) |
return to parent container
Definition at line 113 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Delete last attribute in form.
Definition at line 210 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), getServer(), and null.
|
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().
|
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(), ILIAS\Repository\lng(), ilRadioOption\setInfo(), ilRadioGroupInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by cInitOverview(), and cSaveOverview().
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(), null, ROOT_FOLDER_ID, setSubTabs(), and ILIAS\Repository\tabs().
Referenced by cAddAttribute(), cDeleteAttribute(), cSaveOverview(), and cStart().
|
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().
|
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().
|
protected |
Show local explorer.
Definition at line 219 of file class.ilECSMappingSettingsGUI.php.
References $_GET, ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\int(), ROOT_FOLDER_ID, and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by cInitOverview().
|
protected |
Goto default page.
Definition at line 126 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
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().
|
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().
|
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().
|
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().
|
protected |
Init tree.
Definition at line 1044 of file class.ilECSMappingSettingsGUI.php.
References dEditTree(), getMid(), getServer(), and ilECSCmsData\updateStatus().
|
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, ilECSMappingUtils\mappingStatusToString(), and ilNumberInputGUI\setValue().
Referenced by dEditTree(), and dUpdateTreeSettings().
|
protected |
Do mapping.
Definition at line 1058 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().
|
protected |
Show directory trees.
Definition at line 1124 of file class.ilECSMappingSettingsGUI.php.
References setSubTabs(), and ILIAS\Repository\tabs().
|
protected |
Show directory allocation.
Definition at line 571 of file class.ilECSMappingSettingsGUI.php.
References initFormDSettings(), setSubTabs(), and ILIAS\Repository\tabs().
Referenced by dStart().
|
protected |
Show cms explorer.
Definition at line 987 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $ref_id, ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\int(), ilECSNodeMappingAssignments\lookupMappedItemsForRefId(), and ilECSCmsTree\lookupRootId().
Referenced by dEditTree().
|
protected |
Show local explorer.
Definition at line 954 of file class.ilECSMappingSettingsGUI.php.
References $_GET, ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\int(), ROOT_FOLDER_ID, and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by dEditTree().
|
protected |
Goto default page.
Definition at line 141 of file class.ilECSMappingSettingsGUI.php.
References dSettings(), dTrees(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
protected |
Synchronize Tree.
Definition at line 914 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getServer(), and ILIAS\Repository\lng().
|
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.
|
protected |
Show directory trees.
Definition at line 683 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), getMid(), getServer(), ILIAS\Repository\lng(), setSubTabs(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Referenced by dStart().
|
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().
|
protected |
Definition at line 883 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), dEditTree(), dInitFormTreeSettings(), getMid(), getServer(), and ILIAS\Repository\lng().
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().
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(), cShowLocalExplorer(), cStart(), cUpdateSettings(), dConfirmDeleteTree(), dDeleteTree(), dInitEditTree(), dInitFormTreeSettings(), dMap(), dShowCmsExplorer(), dShowLocalExplorer(), dStart(), dTrees(), dUpdateSettings(), dUpdateTreeSettings(), initFormCSettings(), initFormDSettings(), setSubTabs(), and setTabs().
ilECSMappingSettingsGUI::getServer | ( | ) |
Definition at line 72 of file class.ilECSMappingSettingsGUI.php.
References $server.
Referenced by cAddAttribute(), cDeleteAttribute(), cDeleteRulesOfNode(), cInitMappingForm(), cInitOverview(), cSaveOverview(), cShowLocalExplorer(), cStart(), cUpdateSettings(), dConfirmDeleteTree(), dDeleteTree(), dInitEditTree(), dInitFormTreeSettings(), dMap(), dShowCmsExplorer(), dShowLocalExplorer(), dStart(), dSynchronizeTree(), dSynchronizeTrees(), dTrees(), dUpdateSettings(), dUpdateTreeSettings(), executeCommand(), initFormCSettings(), initFormDSettings(), setSubTabs(), and setTabs().
|
protected |
Init settings form.
Definition at line 457 of file class.ilECSMappingSettingsGUI.php.
References $check, $info, $path, 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, ilFormPropertyGUI\setMulti(), ilSelectInputGUI\setOptions(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by cSettings(), and cUpdateSettings().
|
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().
|
protected |
Set Sub tabs.
Definition at line 1162 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by cInitOverview(), cSettings(), dConfirmDeleteTree(), dMappingOverview(), dSettings(), and dTrees().
|
protected |
Set tabs.
Definition at line 1136 of file class.ilECSMappingSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilECSParticipantSettings\getInstanceByServerId(), getMid(), getServer(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
|
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.
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.