ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($settingsContainer, $server_id, $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 ($current_node, $current_attribute) | |
Init the mapping form. More... | |
cSaveOverview () | |
Save overview. More... | |
cDeleteRulesOfNode () | |
cSettings (ilPropertyFormGUI $form=null) | |
Show course allocation ilTabsGUI $ilTabs. More... | |
initFormCSettings () | |
Init settings form. More... | |
dSettings (ilPropertyFormGUI $form=null) | |
Show directory allocation ilTabsGUI $ilTabs. More... | |
cUpdateSettings () | |
Update course settings. More... | |
cAttributes () | |
Show active attributes ilTabsGUI $ilTabs. 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 ilTabsGUI $ilTabs. More... | |
setSubTabs ($a_tab) | |
Set Sub tabs ilTabsGUI $ilTabs. More... | |
Protected Attributes | |
$log | |
$lng = null | |
$ctrl = null | |
Private Attributes | |
$container = null | |
$server = null | |
$mid = null | |
Definition at line 15 of file class.ilECSMappingSettingsGUI.php.
ilECSMappingSettingsGUI::__construct | ( | $settingsContainer, | |
$server_id, | |||
$mid | |||
) |
Constructor.
ilObjectGUI | $settingsContainer |
Definition at line 36 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $GLOBALS, $ilCtrl, $lng, $mid, and ilECSSetting\getInstanceByServerId().
|
protected |
Add one attribute in form.
Definition at line 211 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
ilECSMappingSettingsGUI::cancel | ( | ) |
return to parent container
Definition at line 117 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS.
|
protected |
Show active attributes ilTabsGUI $ilTabs.
Definition at line 684 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $GLOBALS, $table, ilECSCourseAttributes\getInstance(), getMid(), getServer(), and setSubTabs().
|
protected |
Delete last attribute in form.
Definition at line 221 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
|
protected |
Definition at line 435 of file class.ilECSMappingSettingsGUI.php.
References $rule, getMid(), ilECSCourseMappingRule\getRulesOfRefId(), and getServer().
|
protected |
Init the mapping form.
Definition at line 267 of file class.ilECSMappingSettingsGUI.php.
References $attributes, $form, $rule, $section, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilECSCourseAttributes\getInstance(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), ilECSCourseMappingRule\hasRules(), ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilRadioGroupInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by cInitOverview(), and cSaveOverview().
|
protected |
Show overview page.
Definition at line 156 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $form, $GLOBALS, cInitMappingForm(), cShowLocalExplorer(), getMid(), getServer(), ilECSCourseMappingRule\lookupLastExistingAttribute(), and setSubTabs().
Referenced by cAddAttribute(), cDeleteAttribute(), cSaveOverview(), and cStart().
|
protected |
Save overview.
Definition at line 392 of file class.ilECSMappingSettingsGUI.php.
References $form, $rule, cInitMappingForm(), cInitOverview(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), and ilUtil\sendFailure().
|
protected |
Show course allocation ilTabsGUI $ilTabs.
Definition at line 462 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $form, $GLOBALS, initFormCSettings(), and setSubTabs().
Referenced by cStart(), and cUpdateSettings().
|
protected |
Show local explorer.
Definition at line 231 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $DIC, $tree, getMid(), getServer(), and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by cInitOverview().
|
protected |
Goto default page.
Definition at line 131 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
protected |
Update course settings.
Definition at line 629 of file class.ilECSMappingSettingsGUI.php.
References $attributes, $form, $GLOBALS, $info, $name, cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), initFormCSettings(), and ilUtil\sendFailure().
|
protected |
Delete tree settings.
Definition at line 801 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, getMid(), getServer(), ilECSCmsData\lookupTitle(), and setSubTabs().
|
protected |
Delete tree.
Definition at line 832 of file class.ilECSMappingSettingsGUI.php.
References $data, $GLOBALS, $tree, ilECSNodeMappingAssignments\deleteMappings(), ilECSImport\deleteRessources(), getMid(), getServer(), ilECSCmsData\lookupCmsIdsOfTree(), and ilECSCmsTree\lookupRootId().
|
protected |
Edit directory tree assignments.
Definition at line 877 of file class.ilECSMappingSettingsGUI.php.
References $form, $GLOBALS, dInitFormTreeSettings(), dShowCmsExplorer(), and dShowLocalExplorer().
Referenced by dInitEditTree(), and dUpdateTreeSettings().
|
protected |
Init tree.
Definition at line 1174 of file class.ilECSMappingSettingsGUI.php.
References dEditTree(), getMid(), getServer(), and ilECSCmsData\updateStatus().
|
protected |
Init form settings.
Definition at line 911 of file class.ilECSMappingSettingsGUI.php.
References $form, $title, $tree, getMid(), getServer(), ilECSCmsData\lookupCmsId(), ilECSMappingUtils\lookupMappingStatus(), ilECSCmsTree\lookupRootId(), ilECSMappingUtils\MAPPED_MANUAL, ilECSMappingUtils\mappingStatusToString(), ilFormPropertyGUI\setDisabled(), ilNumberInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by dEditTree(), and dUpdateTreeSettings().
|
protected |
Do mapping.
Definition at line 1189 of file class.ilECSMappingSettingsGUI.php.
References $_POST, $nodes, ilObject\_lookupObjId(), ilECSNodeMappingAssignments\deleteDisconnectableMappings(), ilECSNodeMappingAssignments\deleteMappingsByCsId(), getMid(), getServer(), ilECSNodeMappingAssignments\lookupDefaultTitleUpdate(), ilUtil\sendFailure(), and ilECSCmsData\updateStatus().
|
protected |
Show directory trees.
Definition at line 1259 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, and setSubTabs().
|
protected |
Show directory allocation ilTabsGUI $ilTabs.
Definition at line 605 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $form, $GLOBALS, initFormDSettings(), and setSubTabs().
Referenced by dStart().
|
protected |
Show cms explorer.
Definition at line 1105 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $DIC, $GLOBALS, $tree, getMid(), getServer(), ilECSNodeMappingAssignments\lookupAssignmentsByRefId(), ilECSNodeMappingAssignments\lookupMappedItemsForRefId(), and ilECSCmsTree\lookupRootId().
Referenced by dEditTree().
|
protected |
Show local explorer.
Definition at line 1067 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $DIC, $GLOBALS, $tree, getMid(), getServer(), and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by dEditTree().
|
protected |
Goto default page.
Definition at line 144 of file class.ilECSMappingSettingsGUI.php.
References dSettings(), dTrees(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
protected |
Synchronize Tree.
Definition at line 1022 of file class.ilECSMappingSettingsGUI.php.
References $sync, and getServer().
|
protected |
Definition at line 1035 of file class.ilECSMappingSettingsGUI.php.
References $res, ilLogLevel\DEBUG, getServer(), ilUtil\sendFailure(), ilECSEventQueueReader\TYPE_DIRECTORY_TREES, and ilECSEvent\UPDATED.
|
protected |
Show directory trees.
Definition at line 768 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $GLOBALS, getMid(), getServer(), and setSubTabs().
Referenced by dStart().
|
protected |
Update node mapping settings.
Definition at line 717 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $form, $ilCtrl, ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), initFormDSettings(), and ilUtil\sendFailure().
|
protected |
Definition at line 989 of file class.ilECSMappingSettingsGUI.php.
References $form, dEditTree(), dInitFormTreeSettings(), getMid(), getServer(), and ilUtil\sendFailure().
ilECSMappingSettingsGUI::executeCommand | ( | ) |
ilCtrl executeCommand
Definition at line 83 of file class.ilECSMappingSettingsGUI.php.
References $DIC, $GLOBALS, $ilCtrl, getServer(), and setTabs().
ilECSMappingSettingsGUI::getContainer | ( | ) |
Get container object.
Definition at line 57 of file class.ilECSMappingSettingsGUI.php.
References $container.
ilECSMappingSettingsGUI::getMid | ( | ) |
Get mid.
Definition at line 75 of file class.ilECSMappingSettingsGUI.php.
References $mid.
Referenced by cAddAttribute(), cAttributes(), 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 66 of file class.ilECSMappingSettingsGUI.php.
References $server.
Referenced by cAddAttribute(), cAttributes(), 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 484 of file class.ilECSMappingSettingsGUI.php.
References $attributes, $default, $form, $info, $name, $path, $tpl, ilECSMappingUtils\getAuthModeSelection(), ilECSMappingUtils\getCourseMappingFieldSelectOptions(), ilECSCourseAttributes\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ilCheckboxInputGUI\setChecked(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), and ilTextInputGUI\setValue().
Referenced by cSettings(), and cUpdateSettings().
|
protected |
Definition at line 741 of file class.ilECSMappingSettingsGUI.php.
References $form, ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), and ilCheckboxInputGUI\setChecked().
Referenced by dSettings(), and dUpdateSettings().
|
protected |
Set Sub tabs ilTabsGUI $ilTabs.
string | $a_tab |
Definition at line 1306 of file class.ilECSMappingSettingsGUI.php.
References $DIC, ilECSCourseAttributes\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
Referenced by cAttributes(), cInitOverview(), cSettings(), dConfirmDeleteTree(), dMappingOverview(), dSettings(), and dTrees().
|
protected |
Set tabs ilTabsGUI $ilTabs.
Definition at line 1272 of file class.ilECSMappingSettingsGUI.php.
References $DIC, getMid(), getServer(), and ilECSParticipantSettings\loookupCmsMid().
Referenced by executeCommand().
|
private |
Definition at line 25 of file class.ilECSMappingSettingsGUI.php.
Referenced by getContainer().
|
protected |
Definition at line 30 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 29 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 23 of file class.ilECSMappingSettingsGUI.php.
|
private |
Definition at line 27 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct(), and getMid().
|
private |
Definition at line 26 of file class.ilECSMappingSettingsGUI.php.
Referenced by getServer().
const ilECSMappingSettingsGUI::TAB_COURSE = 2 |
Definition at line 18 of file class.ilECSMappingSettingsGUI.php.
const ilECSMappingSettingsGUI::TAB_DIRECTORY = 1 |
Definition at line 17 of file class.ilECSMappingSettingsGUI.php.