ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct ($settingsContainer, $server_id, $mid) | |
Constructor. | |
getContainer () | |
Get container object. | |
getServer () | |
getMid () | |
Get mid. | |
executeCommand () | |
ilCtrl executeCommand | |
cancel () | |
return to parent container |
Data Fields | |
const | TAB_DIRECTORY = 1 |
const | TAB_COURSE = 2 |
Protected Member Functions | |
cStart () | |
Goto default page. | |
dStart () | |
Goto default page. | |
cInitOverview ($form=null, $current_attribute=null) | |
Show overview page. | |
cAddAttribute () | |
Add one attribute in form. | |
cDeleteAttribute () | |
Delete last attribute in form. | |
cShowLocalExplorer () | |
Show local explorer. | |
cInitMappingForm ($current_node, $current_attribute) | |
Init the mapping form. | |
cSaveOverview () | |
Save overview. | |
cDeleteRulesOfNode () | |
cSettings (ilPropertyFormGUI $form=NULL) | |
Show course allocation ilTabsGUI $ilTabs. | |
initFormCSettings () | |
Init settings form. | |
dSettings (ilPropertyFormGUI $form=NULL) | |
Show directory allocation ilTabsGUI $ilTabs. | |
cUpdateSettings () | |
Update course settings. | |
cAttributes () | |
Show active attributes ilTabsGUI $ilTabs. | |
dUpdateSettings () | |
Update node mapping settings. | |
initFormDSettings () | |
dTrees () | |
Show directory trees. | |
dConfirmDeleteTree () | |
Delete tree settings. | |
dDeleteTree () | |
Delete tree. | |
dEditTree (ilPropertyFormGUI $form=null) | |
Edit directory tree assignments. | |
dInitFormTreeSettings (ilPropertyFormGUI $form=null) | |
Init form settings. | |
dUpdateTreeSettings () | |
dSynchronizeTree () | |
Synchronize Tree. | |
dSynchronizeTrees () | |
dShowLocalExplorer () | |
Show local explorer. | |
dShowCmsExplorer (ilExplorer $localExplorer) | |
Show cms explorer. | |
dInitEditTree () | |
Init tree. | |
dMap () | |
Do mapping. | |
dMappingOverview () | |
Show directory trees. | |
setTabs () | |
Set tabs ilTabsGUI $ilTabs. | |
setSubTabs ($a_tab) | |
Set Sub tabs ilTabsGUI $ilTabs. |
Protected Attributes | |
$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 31 of file class.ilECSMappingSettingsGUI.php.
References $ilCtrl, $lng, $mid, and ilECSSetting\getInstanceByServerId().
|
protected |
Add one attribute in form.
Definition at line 204 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
ilECSMappingSettingsGUI::cancel | ( | ) |
return to parent container
Definition at line 107 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS.
|
protected |
Show active attributes ilTabsGUI $ilTabs.
Definition at line 684 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, ilECSCourseAttributes\getInstance(), getMid(), getServer(), and setSubTabs().
|
protected |
Delete last attribute in form.
Definition at line 214 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, cInitOverview(), ilECSCourseAttributes\getInstance(), getMid(), and getServer().
|
protected |
Definition at line 439 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, getMid(), ilECSCourseMappingRule\getRulesOfRefId(), getServer(), and ilUtil\sendSuccess().
|
protected |
Init the mapping form.
Definition at line 262 of file class.ilECSMappingSettingsGUI.php.
References $section, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilECSCourseAttributes\getInstance(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), ilECSCourseMappingRule\hasRules(), ilRadioOption\setInfo(), and ilRadioOption\setValue().
Referenced by cInitOverview(), and cSaveOverview().
|
protected |
Show overview page.
Definition at line 148 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, $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 $_REQUEST, cInitMappingForm(), cInitOverview(), ilECSCourseMappingRule\getInstanceByAttribute(), getMid(), getServer(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Show course allocation ilTabsGUI $ilTabs.
Definition at line 466 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, initFormCSettings(), and setSubTabs().
Referenced by cStart(), and cUpdateSettings().
|
protected |
Show local explorer.
Definition at line 224 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $_REQUEST, getMid(), getServer(), and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by cInitOverview().
|
protected |
Goto default page.
Definition at line 121 of file class.ilECSMappingSettingsGUI.php.
References cInitOverview(), cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
protected |
Update course settings.
Definition at line 627 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, cSettings(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), initFormCSettings(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Delete tree settings.
Definition at line 794 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, $GLOBALS, getMid(), getServer(), ilECSCmsData\lookupTitle(), and setSubTabs().
|
protected |
Delete tree.
Definition at line 825 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, $GLOBALS, ilECSNodeMappingAssignments\deleteMappings(), ilECSImport\deleteRessources(), getMid(), getServer(), ilECSCmsData\lookupCmsIdsOfTree(), ilECSCmsTree\lookupRootId(), and ilUtil\sendSuccess().
|
protected |
Edit directory tree assignments.
Definition at line 870 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, dInitFormTreeSettings(), dShowCmsExplorer(), and dShowLocalExplorer().
Referenced by dInitEditTree(), and dUpdateTreeSettings().
|
protected |
Init tree.
Definition at line 1171 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, dEditTree(), getMid(), getServer(), and ilECSCmsData\updateStatus().
|
protected |
Init form settings.
Definition at line 904 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, getMid(), getServer(), ilECSCmsData\lookupCmsId(), ilECSMappingUtils\lookupMappingStatus(), ilECSCmsTree\lookupRootId(), ilECSMappingUtils\MAPPED_MANUAL, ilECSMappingUtils\mappingStatusToString(), ilFormPropertyGUI\setDisabled(), ilCheckboxInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by dEditTree(), and dUpdateTreeSettings().
|
protected |
Do mapping.
Definition at line 1186 of file class.ilECSMappingSettingsGUI.php.
References $_POST, $_REQUEST, $ref_id, ilObject\_lookupObjId(), ilECSNodeMappingAssignments\deleteDisconnectableMappings(), ilECSNodeMappingAssignments\deleteMappingsByCsId(), getMid(), getServer(), ilECSNodeMappingAssignments\lookupDefaultTitleUpdate(), ilUtil\sendFailure(), ilUtil\sendSuccess(), 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 604 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, initFormDSettings(), and setSubTabs().
Referenced by dStart().
|
protected |
Show cms explorer.
Definition at line 1100 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $_REQUEST, $GLOBALS, $ref_id, getMid(), getServer(), ilECSNodeMappingAssignments\lookupAssignmentsByRefId(), ilECSNodeMappingAssignments\lookupMappedItemsForRefId(), and ilECSCmsTree\lookupRootId().
Referenced by dEditTree().
|
protected |
Show local explorer.
Definition at line 1060 of file class.ilECSMappingSettingsGUI.php.
References $_GET, $_REQUEST, $GLOBALS, getMid(), getServer(), and ilECSNodeMappingLocalExplorer\setPostVar().
Referenced by dEditTree().
|
protected |
Goto default page.
Definition at line 135 of file class.ilECSMappingSettingsGUI.php.
References dSettings(), dTrees(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), and getServer().
|
protected |
Synchronize Tree.
Definition at line 1016 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, getServer(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1029 of file class.ilECSMappingSettingsGUI.php.
References $res, getServer(), ilUtil\sendFailure(), ilECSEventQueueReader\TYPE_DIRECTORY_TREES, and ilECSEvent\UPDATED.
|
protected |
Show directory trees.
Definition at line 765 of file class.ilECSMappingSettingsGUI.php.
References $GLOBALS, getMid(), getServer(), and setSubTabs().
Referenced by dStart().
|
protected |
Update node mapping settings.
Definition at line 713 of file class.ilECSMappingSettingsGUI.php.
References $ilCtrl, ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), initFormDSettings(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 982 of file class.ilECSMappingSettingsGUI.php.
References $_REQUEST, dEditTree(), dInitFormTreeSettings(), getMid(), getServer(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilECSMappingSettingsGUI::executeCommand | ( | ) |
ilCtrl executeCommand
Definition at line 73 of file class.ilECSMappingSettingsGUI.php.
References $cmd, $GLOBALS, $ilCtrl, getServer(), and setTabs().
ilECSMappingSettingsGUI::getContainer | ( | ) |
Get container object.
Definition at line 47 of file class.ilECSMappingSettingsGUI.php.
References $container.
ilECSMappingSettingsGUI::getMid | ( | ) |
Get mid.
Definition at line 65 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 56 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 487 of file class.ilECSMappingSettingsGUI.php.
References $path, $tpl, ilECSMappingUtils\getCourseMappingFieldSelectOptions(), ilECSCourseAttributes\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setMulti(), ilFormPropertyGUI\setRequired(), and ilTextInputGUI\setValue().
Referenced by cSettings(), and cUpdateSettings().
|
protected |
Definition at line 738 of file class.ilECSMappingSettingsGUI.php.
References ilECSNodeMappingSettings\getInstanceByServerMid(), getMid(), getServer(), and ilCheckboxInputGUI\setChecked().
Referenced by dSettings(), and dUpdateSettings().
|
protected |
Set Sub tabs ilTabsGUI $ilTabs.
string | $a_tab |
Definition at line 1305 of file class.ilECSMappingSettingsGUI.php.
References 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 getMid(), getServer(), and ilECSParticipantSettings\loookupCmsMid().
Referenced by executeCommand().
|
private |
Definition at line 20 of file class.ilECSMappingSettingsGUI.php.
Referenced by getContainer().
|
protected |
Definition at line 25 of file class.ilECSMappingSettingsGUI.php.
|
protected |
Definition at line 24 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.ilECSMappingSettingsGUI.php.
Referenced by __construct(), and getMid().
|
private |
Definition at line 21 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.