| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilECSSettingsGUI:
 Collaboration diagram for ilECSSettingsGUI:| Public Member Functions | |
| __construct () | |
| Constructor. | |
| executeCommand () | |
| Execute command. | |
| overview () | |
| List available servers. | |
| communities () | |
| show communities | |
| importMappings () | |
| Show mapping settings (EContent-Data <-> (Remote)Course. | |
| Data Fields | |
| const | MAPPING_EXPORT = 1 | 
| const | MAPPING_IMPORT = 2 | 
| Protected Member Functions | |
| activate () | |
| activate server | |
| deactivate () | |
| activate server | |
| readAll () | |
| Read all importable econtent. | |
| create () | |
| Create new settings  ilTabs $ilTabs. | |
| edit () | |
| Edit server setting. | |
| cp () | |
| delete () | |
| Delete confirmation. | |
| doDelete () | |
| Do delete. | |
| settings () | |
| show settings | |
| initSettingsForm ($a_mode= 'update') | |
| init settings form | |
| update () | |
| save settings | |
| save () | |
| Save settings. | |
| updateTitle () | |
| Update configuration title. | |
| loadFromPost () | |
| Load from post. | |
| refreshParticipants () | |
| Refresh participants. | |
| validateImportTypes (&$import_types) | |
| Validate import types. | |
| updateCommunities () | |
| update whitelist | |
| setMappingTabs ($a_active) | |
| Handle tabs for ECS data mapping. | |
| exportMappings () | |
| Show mapping settings (EContent-Data <-> (Remote)Course. | |
| saveImportMappings () | |
| Save mappings. | |
| saveExportMappings () | |
| Save mappings. | |
| initMappingsForm ($a_server_id, $mapping_type) | |
| init mapping form | |
| categoryMapping () | |
| Category mappings. | |
| addCategoryMapping () | |
| save category mapping | |
| editCategoryMapping () | |
| Edit category mapping. | |
| updateCategoryMapping () | |
| update category mapping | |
| deleteCategoryMappings () | |
| Delete selected category mappings. | |
| showRulesTable () | |
| Show rules table. | |
| initRule ($a_rule_id=0) | |
| Init rule. | |
| initCategoryMappingForm ($a_mode= 'add') | |
| Init category mapping form. | |
| imported () | |
| Show imported materials. | |
| exportImported () | |
| csv export of imported remote courses | |
| released () | |
| Show released materials. | |
| exportReleased () | |
| export released | |
| prepareFieldSelection ($fields) | |
| get options for field selection | |
| initSettings ($a_server_id=1) | |
| Init settings. | |
| setSubTabs () | |
| set sub tabs | |
| initTaskScheduler () | |
| Init next task execution  <type> $ilDB  <type> $ilSetting. | |
| Protected Attributes | |
| $tpl | |
| $lng | |
| $ctrl | |
| $tabs_gui | |
| Private Member Functions | |
| prepareRoleSelect () | |
| get global role array | |
| buildPath ($a_ref_id) | |
ilECSSettingsGUI: ilECSMappingSettingsGUI
Definition at line 35 of file class.ilECSSettingsGUI.php.
| ilECSSettingsGUI::__construct | ( | ) | 
Constructor.
public
Definition at line 52 of file class.ilECSSettingsGUI.php.
References $ilCtrl, $lng, $tpl, and initSettings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
activate server
Definition at line 130 of file class.ilECSSettingsGUI.php.
References $_REQUEST, initSettings(), ilUtil\sendSuccess(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
save category mapping
Definition at line 1215 of file class.ilECSSettingsGUI.php.
References categoryMapping(), initCategoryMappingForm(), initRule(), ilUtil\sendInfo(), ilECSCategoryMappingRule\TYPE_BY_TYPE, ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 1903 of file class.ilECSSettingsGUI.php.
Referenced by initCategoryMappingForm(), and initSettingsForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Category mappings.
Definition at line 1195 of file class.ilECSSettingsGUI.php.
References initCategoryMappingForm(), initRule(), and showRulesTable().
Referenced by addCategoryMapping(), deleteCategoryMappings(), editCategoryMapping(), and updateCategoryMapping().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSSettingsGUI::communities | ( | ) | 
show communities
public
Definition at line 661 of file class.ilECSSettingsGUI.php.
References $GLOBALS, $reader, $server, ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), and ilTable2GUI\setTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 232 of file class.ilECSSettingsGUI.php.
References $_REQUEST, initSettings(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Create new settings ilTabs $ilTabs.
Definition at line 196 of file class.ilECSSettingsGUI.php.
References initSettings(), and initSettingsForm().
Referenced by save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
activate server
Definition at line 142 of file class.ilECSSettingsGUI.php.
References $_REQUEST, initSettings(), ilUtil\sendSuccess(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Delete confirmation.
Definition at line 247 of file class.ilECSSettingsGUI.php.
References $_REQUEST, initSettings(), and settings().
Referenced by doDelete().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Delete selected category mappings.
Definition at line 1344 of file class.ilECSSettingsGUI.php.
References $_POST, categoryMapping(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Do delete.
Definition at line 273 of file class.ilECSSettingsGUI.php.
References $_REQUEST, delete(), ilECSParticipantSettings\deleteByServer(), ilECSExport\deleteByServer(), ilECSImport\deleteByServer(), ilECSEventQueueReader\deleteServer(), initSettings(), ilUtil\sendSuccess(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Edit server setting.
Definition at line 215 of file class.ilECSSettingsGUI.php.
References $_REQUEST, initSettings(), and initSettingsForm().
Referenced by update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Edit category mapping.
Definition at line 1266 of file class.ilECSSettingsGUI.php.
References $_REQUEST, categoryMapping(), initCategoryMappingForm(), initRule(), and ilUtil\sendInfo().
Referenced by updateCategoryMapping().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSSettingsGUI::executeCommand | ( | ) | 
Execute command.
public
Definition at line 72 of file class.ilECSSettingsGUI.php.
References $_REQUEST, $cmd, and setSubTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
csv export of imported remote courses
protected
Definition at line 1570 of file class.ilECSSettingsGUI.php.
References $ilUser, $reader, ilECSDataMappingSettings\_getInstance(), ilECSCommunityReader\_getInstance(), ilUtil\_getObjectsByOperations(), ilAdvancedMDValues\_getValuesByObjId(), ilObject\_lookupDescription(), ilObjRemoteCourse\_lookupMID(), ilObject\_lookupTitle(), ilUtil\deliverData(), ilFormat\formatUnixTime(), and ilECSDataMappingSetting\MAPPING_IMPORT_RCRS.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show mapping settings (EContent-Data <-> (Remote)Course.
protected
Definition at line 959 of file class.ilECSSettingsGUI.php.
References $_REQUEST, $_SESSION, $options, $server, ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), ilECSServerSettings\getInstance(), initMappingsForm(), ilUtil\sendInfo(), and setMappingTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
export released
protected
Definition at line 1736 of file class.ilECSSettingsGUI.php.
References ilECSDataMappingSettings\_getInstance(), ilAdvancedMDValues\_getValuesByObjId(), ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilUtil\deliverData(), ilFormat\formatUnixTime(), and ilECSExport\getExportedIds().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show imported materials.
protected
Definition at line 1508 of file class.ilECSSettingsGUI.php.
References $_REQUEST, $ilUser, $options, ilUtil\_getObjectsByOperations(), ilECSServerSettings\getInstance(), and ilECSUtils\getPossibleRemoteTypes().
Referenced by readAll().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSSettingsGUI::importMappings | ( | ) | 
Show mapping settings (EContent-Data <-> (Remote)Course.
protected
Definition at line 895 of file class.ilECSSettingsGUI.php.
References $_REQUEST, $_SESSION, $options, $server, ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), ilECSServerSettings\getInstance(), initMappingsForm(), ilUtil\sendInfo(), and setMappingTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Init category mapping form.
Definition at line 1401 of file class.ilECSSettingsGUI.php.
References $options, $tpl, buildPath(), ilECSCategoryMapping\getPossibleFields(), ilECSUtils\getPossibleRemoteTypes(), ilDateTimeInputGUI\setDate(), ilRadioOption\setInfo(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), settings(), ilTextInputGUI\setValue(), ilSelectInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilECSCategoryMappingRule\TYPE_BY_TYPE, ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
init mapping form
| int | $a_server_id | 
protected
Definition at line 1084 of file class.ilECSSettingsGUI.php.
References $options, $server, ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), ilECSUtils\_getOptionalEContentFields(), ilECSUtils\_getOptionalECourseFields(), ilECSDataMappingSettings\getInstanceByServerId(), ilECSDataMappingSetting\MAPPING_EXPORT, ilECSDataMappingSetting\MAPPING_IMPORT_CRS, ilECSDataMappingSetting\MAPPING_IMPORT_RCRS, prepareFieldSelection(), and ilSelectInputGUI\setValue().
Referenced by exportMappings(), and importMappings().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init rule.
| int | $rule_id | rule id | 
Definition at line 1386 of file class.ilECSSettingsGUI.php.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init settings.
protected
Definition at line 1836 of file class.ilECSSettingsGUI.php.
References ilECSSetting\getInstanceByServerId(), and settings().
Referenced by __construct(), activate(), cp(), create(), deactivate(), delete(), doDelete(), edit(), save(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
init settings form
protected
Definition at line 320 of file class.ilECSSettingsGUI.php.
References $pass, $tpl, AUTH_APACHE, ilECSSetting\AUTH_CERTIFICATE, buildPath(), prepareRoleSelect(), ilECSSetting\PROTOCOL_HTTPS, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilDurationInputGUI\setShowDays(), ilTextInputGUI\setSize(), settings(), ilTextInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by create(), edit(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init next task execution <type> $ilDB <type> $ilSetting.
Definition at line 1917 of file class.ilECSSettingsGUI.php.
References $ilSetting, and settings().
Referenced by save(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Load from post.
Definition at line 596 of file class.ilECSSettingsGUI.php.
References $_POST, settings(), and ilUtil\stripSlashes().
Referenced by save(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSSettingsGUI::overview | ( | ) | 
List available servers.
Definition at line 104 of file class.ilECSSettingsGUI.php.
References ilECSServerSettings\getInstance().
Referenced by update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
get options for field selection
| array | array of field objects protected | 
Definition at line 1815 of file class.ilECSSettingsGUI.php.
References $options, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and ilAdvancedMDRecord\_lookupTitle().
Referenced by initMappingsForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
get global role array
protected
Definition at line 1886 of file class.ilECSSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initSettingsForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Read all importable econtent.
protected
Definition at line 156 of file class.ilECSSettingsGUI.php.
References $server, ilECSTaskScheduler\_getInstanceByServerId(), ilECSServerSettings\getInstance(), ilECSEventQueueReader\handleExportReset(), ilECSEventQueueReader\handleImportReset(), imported(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Refresh participants.
Definition at line 626 of file class.ilECSSettingsGUI.php.
References $GLOBALS, $server, ilECSParticipantSetting\delete(), ilECSParticipantSettings\getAvailabeMids(), ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show released materials.
protected
Definition at line 1675 of file class.ilECSSettingsGUI.php.
References $_REQUEST, $ilUser, $options, ilECSExport\getExportedIdsByType(), ilECSUtils\getPossibleReleaseTypes(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Save settings.
Definition at line 539 of file class.ilECSSettingsGUI.php.
References $GLOBALS, create(), initSettings(), initTaskScheduler(), loadFromPost(), ilUtil\sendInfo(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Save mappings.
protected
Definition at line 1053 of file class.ilECSSettingsGUI.php.
References $_POST, and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Save mappings.
protected
Definition at line 1024 of file class.ilECSSettingsGUI.php.
References $_POST, $_REQUEST, and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Handle tabs for ECS data mapping.
| int | $a_active | ilTabsGUI ilTabs | 
Definition at line 854 of file class.ilECSSettingsGUI.php.
Referenced by exportMappings(), and importMappings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
set sub tabs
protected
Definition at line 1847 of file class.ilECSSettingsGUI.php.
References ilECSServerSettings\getInstance().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
show settings
protected
Definition at line 307 of file class.ilECSSettingsGUI.php.
References initSettingsForm().
Referenced by activate(), deactivate(), delete(), doDelete(), initCategoryMappingForm(), initSettings(), initSettingsForm(), initTaskScheduler(), loadFromPost(), released(), save(), update(), and updateTitle().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show rules table.
Definition at line 1367 of file class.ilECSSettingsGUI.php.
References ilECSCategoryMapping\getActiveRules().
Referenced by categoryMapping().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
save settings
protected
Definition at line 513 of file class.ilECSSettingsGUI.php.
References $_REQUEST, edit(), initSettings(), initTaskScheduler(), loadFromPost(), overview(), ilUtil\sendInfo(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
update category mapping
Definition at line 1288 of file class.ilECSSettingsGUI.php.
References $_REQUEST, categoryMapping(), editCategoryMapping(), initCategoryMappingForm(), initRule(), ilUtil\sendInfo(), ilECSCategoryMappingRule\TYPE_BY_TYPE, ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
update whitelist
protected
Definition at line 764 of file class.ilECSSettingsGUI.php.
References $_POST, $GLOBALS, $ilLog, $server, ilECSServerSettings\getInstance(), ilECSCommunityCache\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and validateImportTypes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Update configuration title.
Definition at line 564 of file class.ilECSSettingsGUI.php.
References $GLOBALS, $reader, ilECSCommunityReader\getInstanceByServerId(), ilUtil\sendFailure(), and settings().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Validate import types.
| array | $import_types | 
Definition at line 718 of file class.ilECSSettingsGUI.php.
References $server, ilECSParticipantSetting\IMPORT_CMS, and ilECSParticipantSetting\IMPORT_UNCHANGED.
Referenced by updateCommunities().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 43 of file class.ilECSSettingsGUI.php.
| 
 | protected | 
Definition at line 42 of file class.ilECSSettingsGUI.php.
Referenced by __construct().
| 
 | protected | 
Definition at line 44 of file class.ilECSSettingsGUI.php.
| 
 | protected | 
Definition at line 41 of file class.ilECSSettingsGUI.php.
Referenced by __construct(), initCategoryMappingForm(), and initSettingsForm().
| const ilECSSettingsGUI::MAPPING_EXPORT = 1 | 
Definition at line 37 of file class.ilECSSettingsGUI.php.
| const ilECSSettingsGUI::MAPPING_IMPORT = 2 | 
Definition at line 38 of file class.ilECSSettingsGUI.php.