|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for ilECSSettingsGUI:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| overview () | |
| List available servers. More... | |
| communities () | |
| show communities More... | |
| importMappings () | |
| Show mapping settings (EContent-Data <-> (Remote)Course. More... | |
Data Fields | |
| const | MAPPING_EXPORT = 1 |
| const | MAPPING_IMPORT = 2 |
Protected Member Functions | |
| activate () | |
| activate server More... | |
| deactivate () | |
| activate server More... | |
| readAll () | |
| Read all importable econtent. More... | |
| create () | |
| Create new settings @global ilTabs $ilTabs. More... | |
| edit () | |
| Edit server setting. More... | |
| cp () | |
| delete () | |
| Delete confirmation. More... | |
| doDelete () | |
| Do delete. More... | |
| settings () | |
| show settings More... | |
| initSettingsForm ($a_mode='update') | |
| init settings form More... | |
| update () | |
| save settings More... | |
| save () | |
| Save settings. More... | |
| updateTitle () | |
| Update configuration title. More... | |
| loadFromPost () | |
| Load from post. More... | |
| refreshParticipants () | |
| Refresh participants. More... | |
| validateImportTypes (&$import_types) | |
| Validate import types. More... | |
| updateCommunities () | |
| update whitelist More... | |
| setMappingTabs ($a_active) | |
| Handle tabs for ECS data mapping. More... | |
| exportMappings () | |
| Show mapping settings (EContent-Data <-> (Remote)Course. More... | |
| saveImportMappings () | |
| Save mappings. More... | |
| saveExportMappings () | |
| Save mappings. More... | |
| initMappingsForm ($a_server_id, $mapping_type) | |
| init mapping form More... | |
| categoryMapping () | |
| Category mappings. More... | |
| addCategoryMapping () | |
| save category mapping More... | |
| editCategoryMapping () | |
| Edit category mapping. More... | |
| updateCategoryMapping () | |
| update category mapping More... | |
| deleteCategoryMappings () | |
| Delete selected category mappings. More... | |
| showRulesTable () | |
| Show rules table. More... | |
| initRule ($a_rule_id=0) | |
| Init rule. More... | |
| initCategoryMappingForm ($a_mode='add') | |
| Init category mapping form. More... | |
| imported () | |
| Show imported materials. More... | |
| exportImported () | |
| csv export of imported remote courses More... | |
| released () | |
| Show released materials. More... | |
| exportReleased () | |
| export released More... | |
| prepareFieldSelection ($fields) | |
| get options for field selection More... | |
| initSettings ($a_server_id=1) | |
| Init settings. More... | |
| setSubTabs () | |
| set sub tabs More... | |
| initTaskScheduler () | |
| Init next task execution @global <type> $ilDB @global <type> $ilSetting. More... | |
Protected Attributes | |
| $log = null | |
| $tpl | |
| $lng | |
| $ctrl | |
| $tabs_gui | |
Private Member Functions | |
| prepareRoleSelect () | |
| get global role array More... | |
| buildPath ($a_ref_id) | |
@ilCtrl_Calls ilECSSettingsGUI: ilECSMappingSettingsGUI, ilECSParticipantSettingsGUI
Definition at line 35 of file class.ilECSSettingsGUI.php.
| ilECSSettingsGUI::__construct | ( | ) |
Constructor.
@access public
Definition at line 56 of file class.ilECSSettingsGUI.php.
References $GLOBALS, $ilCtrl, $lng, $tpl, and initSettings().
Here is the call graph for this function:
|
protected |
activate server
Definition at line 152 of file class.ilECSSettingsGUI.php.
References initSettings(), ilUtil\sendSuccess(), and settings().
Here is the call graph for this function:
|
protected |
save category mapping
Definition at line 1175 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:
|
private |
| int | $a_ref_id |
Definition at line 1875 of file class.ilECSSettingsGUI.php.
References $DIC.
Referenced by initCategoryMappingForm(), and initSettingsForm().
Here is the caller graph for this function:
|
protected |
Category mappings.
Definition at line 1156 of file class.ilECSSettingsGUI.php.
References $html, initCategoryMappingForm(), initRule(), and showRulesTable().
Referenced by addCategoryMapping(), deleteCategoryMappings(), editCategoryMapping(), and updateCategoryMapping().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSSettingsGUI::communities | ( | ) |
show communities
@access public
Definition at line 664 of file class.ilECSSettingsGUI.php.
References $GLOBALS, $reader, $server, ilECSServerSettings\getInstance(), and ilECSCommunityReader\getInstanceByServerId().
Here is the call graph for this function:
|
protected |
Definition at line 248 of file class.ilECSSettingsGUI.php.
References initSettings(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Create new settings @global ilTabs $ilTabs.
Definition at line 212 of file class.ilECSSettingsGUI.php.
References initSettings(), and initSettingsForm().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
activate server
Definition at line 164 of file class.ilECSSettingsGUI.php.
References initSettings(), ilUtil\sendSuccess(), and settings().
Here is the call graph for this function:
|
protected |
Delete confirmation.
Definition at line 263 of file class.ilECSSettingsGUI.php.
References initSettings(), and settings().
Here is the call graph for this function:
|
protected |
Delete selected category mappings.
Definition at line 1296 of file class.ilECSSettingsGUI.php.
References $_POST, $rule, categoryMapping(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Do delete.
Definition at line 289 of file class.ilECSSettingsGUI.php.
References ilECSCommunitiesCache\delete(), ilECSDataMappingSettings\delete(), ilECSExport\deleteByServer(), ilECSImport\deleteByServer(), ilECSParticipantSettings\deleteByServer(), ilECSEventQueueReader\deleteServer(), initSettings(), ilUtil\sendSuccess(), and settings().
Here is the call graph for this function:
|
protected |
Edit server setting.
Definition at line 231 of file class.ilECSSettingsGUI.php.
References initSettings(), and initSettingsForm().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Edit category mapping.
Definition at line 1223 of file class.ilECSSettingsGUI.php.
References categoryMapping(), initCategoryMappingForm(), initRule(), and ilUtil\sendInfo().
Referenced by updateCategoryMapping().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSSettingsGUI::executeCommand | ( | ) |
Execute command.
@access public
Definition at line 78 of file class.ilECSSettingsGUI.php.
References setSubTabs().
Here is the call graph for this function:
|
protected |
csv export of imported remote courses
@access protected
Definition at line 1511 of file class.ilECSSettingsGUI.php.
References $ilUser, $reader, ilECSCommunityReader\_getInstance(), ilECSDataMappingSettings\_getInstance(), ilUtil\_getObjectsByOperations(), ilObject\_lookupDescription(), ilRemoteObjectBase\_lookupMID(), ilObject\_lookupTitle(), date, ilUtil\deliverData(), ilECSUtils\getAdvancedMDValuesForObjId(), IL_CAL_DATETIME, IL_CAL_UNIX, and ilECSDataMappingSetting\MAPPING_IMPORT_RCRS.
Here is the call graph for this function:
|
protected |
Show mapping settings (EContent-Data <-> (Remote)Course.
@access protected
Definition at line 937 of file class.ilECSSettingsGUI.php.
References $_SESSION, $form, $options, $server, $title, ilECSServerSettings\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), initMappingsForm(), ilUtil\sendInfo(), and setMappingTabs().
Here is the call graph for this function:
|
protected |
export released
@access protected
Definition at line 1678 of file class.ilECSSettingsGUI.php.
References ilECSDataMappingSettings\_getInstance(), ilObject\_lookupDescription(), ilObject\_lookupTitle(), date, ilUtil\deliverData(), ilECSUtils\getAdvancedMDValuesForObjId(), ilECSExport\getExportedIds(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Here is the call graph for this function:
|
protected |
Show imported materials.
@access protected
Definition at line 1452 of file class.ilECSSettingsGUI.php.
References $ilUser, $options, ilUtil\_getObjectsByOperations(), ilECSServerSettings\getInstance(), and ilECSUtils\getPossibleRemoteTypes().
Referenced by readAll().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSSettingsGUI::importMappings | ( | ) |
Show mapping settings (EContent-Data <-> (Remote)Course.
@access protected
Definition at line 880 of file class.ilECSSettingsGUI.php.
References $_SESSION, $form, $options, $server, $title, ilECSServerSettings\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), initMappingsForm(), ilUtil\sendInfo(), and setMappingTabs().
Here is the call graph for this function:
|
protected |
Init category mapping form.
Definition at line 1349 of file class.ilECSSettingsGUI.php.
References $ilDB, $options, $tpl, $type, buildPath(), ilECSCategoryMapping\getPossibleFields(), ilECSUtils\getPossibleRemoteTypes(), settings(), 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 caller graph for this function:
|
protected |
init mapping form
| int | $a_server_id |
@access protected
Definition at line 1051 of file class.ilECSSettingsGUI.php.
References $form, $options, $server, ilECSUtils\_getOptionalEContentFields(), ilECSUtils\_getOptionalECourseFields(), ilECSDataMappingSettings\getInstanceByServerId(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), ilECSDataMappingSetting\MAPPING_EXPORT, ilECSDataMappingSetting\MAPPING_IMPORT_CRS, ilECSDataMappingSetting\MAPPING_IMPORT_RCRS, and prepareFieldSelection().
Referenced by exportMappings(), and importMappings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init rule.
| int | $rule_id | rule id |
Definition at line 1335 of file class.ilECSSettingsGUI.php.
References $rule.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
Here is the caller graph for this function:
|
protected |
Init settings.
@access protected
Definition at line 1785 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 caller graph for this function:
|
protected |
init settings form
@access protected
Definition at line 336 of file class.ilECSSettingsGUI.php.
References $key, $pass, $path, $tpl, ilECSSetting\AUTH_APACHE, ilECSSetting\AUTH_CERTIFICATE, buildPath(), prepareRoleSelect(), ilECSSetting\PROTOCOL_HTTPS, and settings().
Referenced by create(), edit(), and settings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init next task execution @global <type> $ilDB @global <type> $ilSetting.
Definition at line 1896 of file class.ilECSSettingsGUI.php.
References $ilDB, $ilSetting, and settings().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Load from post.
Definition at line 600 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 caller graph for this function:| ilECSSettingsGUI::overview | ( | ) |
List available servers.
Definition at line 124 of file class.ilECSSettingsGUI.php.
References $table, and ilECSServerSettings\getInstance().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
get options for field selection
| array | array of field objects @access protected |
Definition at line 1766 of file class.ilECSSettingsGUI.php.
References $options, $title, and ilAdvancedMDRecord\_lookupTitle().
Referenced by initMappingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
get global role array
@access protected
Definition at line 1853 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 caller graph for this function:
|
protected |
Read all importable econtent.
@access protected
Definition at line 178 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:
|
protected |
Refresh participants.
Definition at line 629 of file class.ilECSSettingsGUI.php.
References $server, ilECSParticipantSettings\getAvailabeMids(), ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Show released materials.
@access protected
Definition at line 1620 of file class.ilECSSettingsGUI.php.
References $ilUser, $options, ilECSExport\getExportedIdsByType(), ilECSUtils\getPossibleReleaseTypes(), and settings().
Here is the call graph for this function:
|
protected |
Save settings.
Definition at line 552 of file class.ilECSSettingsGUI.php.
References $error, $GLOBALS, create(), initSettings(), initTaskScheduler(), loadFromPost(), ilUtil\sendInfo(), and settings().
Here is the call graph for this function:
|
protected |
Save mappings.
@access protected
Definition at line 1022 of file class.ilECSSettingsGUI.php.
References $_POST, $mtype, and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Save mappings.
@access protected
Definition at line 995 of file class.ilECSSettingsGUI.php.
References $_POST, $mtype, and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Handle tabs for ECS data mapping.
| int | $a_active | @global ilTabsGUI ilTabs |
Definition at line 838 of file class.ilECSSettingsGUI.php.
References MAPPING_EXPORT, and MAPPING_IMPORT.
Referenced by exportMappings(), and importMappings().
Here is the caller graph for this function:
|
protected |
set sub tabs
@access protected
Definition at line 1796 of file class.ilECSSettingsGUI.php.
References ilECSServerSettings\getInstance().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show settings
@access protected
Definition at line 323 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 caller graph for this function:
|
protected |
Show rules table.
Definition at line 1317 of file class.ilECSSettingsGUI.php.
References ilECSCategoryMapping\getActiveRules().
Referenced by categoryMapping().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
save settings
@access protected
Definition at line 529 of file class.ilECSSettingsGUI.php.
References $error, edit(), initSettings(), initTaskScheduler(), loadFromPost(), overview(), ilUtil\sendInfo(), and settings().
Here is the call graph for this function:
|
protected |
update category mapping
Definition at line 1244 of file class.ilECSSettingsGUI.php.
References 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:
|
protected |
update whitelist
@access protected
Definition at line 762 of file class.ilECSSettingsGUI.php.
References $_POST, $GLOBALS, $ilLog, $server, ilECSCommunityCache\getInstance(), ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and validateImportTypes().
Here is the call graph for this function:
|
protected |
Update configuration title.
Definition at line 574 of file class.ilECSSettingsGUI.php.
References $reader, ilECSCommunityReader\getInstanceByServerId(), ilUtil\sendFailure(), and settings().
Here is the call graph for this function:
|
protected |
Validate import types.
| array | $import_types |
Definition at line 725 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:
|
protected |
Definition at line 47 of file class.ilECSSettingsGUI.php.
|
protected |
Definition at line 46 of file class.ilECSSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilECSSettingsGUI.php.
|
protected |
Definition at line 48 of file class.ilECSSettingsGUI.php.
|
protected |
Definition at line 45 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.
Referenced by setMappingTabs().
| const ilECSSettingsGUI::MAPPING_IMPORT = 2 |
Definition at line 38 of file class.ilECSSettingsGUI.php.
Referenced by setMappingTabs().