|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilECSSettingsGUI:Public Member Functions | |
| __construct () | |
| 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. 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 (array $import_types) | |
| Validate import types. More... | |
| updateCommunities () | |
| update whitelist More... | |
| setMappingTabs (int $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 (int $a_server_id, int $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 (int $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 (int $a_server_id=1) | |
| Init settings. More... | |
| setSubTabs () | |
| set sub tabs More... | |
Private Member Functions | |
| prepareRoleSelect () | |
| get global role array More... | |
| buildPath (int $a_ref_id) | |
@ilCtrl_Calls ilECSSettingsGUI: ilECSMappingSettingsGUI, ilECSParticipantSettingsGUI
Definition at line 26 of file class.ilECSSettingsGUI.php.
| ilECSSettingsGUI::__construct | ( | ) |
Definition at line 48 of file class.ilECSSettingsGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initSettings(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
activate server
Definition at line 132 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), and settings().
Here is the call graph for this function:
|
protected |
save category mapping
Definition at line 1006 of file class.ilECSSettingsGUI.php.
References categoryMapping(), ILIAS\Repository\form(), initCategoryMappingForm(), initRule(), ILIAS\Repository\lng(), ilECSCategoryMappingRule\TYPE_BY_TYPE, ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
Here is the call graph for this function:
|
private |
Definition at line 1650 of file class.ilECSSettingsGUI.php.
Referenced by initCategoryMappingForm(), and initSettingsForm().
Here is the caller graph for this function:
|
protected |
Category mappings.
Definition at line 988 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\form(), 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
Definition at line 571 of file class.ilECSSettingsGUI.php.
References $server, $settings, $tpl, ILIAS\Repository\access(), ilECSServerSettings\ALL_SERVER, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Definition at line 215 of file class.ilECSSettingsGUI.php.
References $settings, ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), and ilECSSetting\save().
Here is the call graph for this function:
|
protected |
Create new settings.
Definition at line 183 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\form(), initSettings(), initSettingsForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
activate server
Definition at line 144 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), and settings().
Here is the call graph for this function:
|
protected |
Delete confirmation.
Definition at line 230 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), and settings().
Here is the call graph for this function:
|
protected |
Delete selected category mappings.
Definition at line 1133 of file class.ilECSSettingsGUI.php.
References $rule, categoryMapping(), ilECSCategoryMappingRule\delete(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Do delete.
Definition at line 253 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), and settings().
Here is the call graph for this function:
|
protected |
Edit server setting.
Definition at line 200 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initSettings(), initSettingsForm(), and ILIAS\Repository\lng().
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 1057 of file class.ilECSSettingsGUI.php.
References categoryMapping(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initCategoryMappingForm(), initRule(), and ILIAS\Repository\lng().
Referenced by updateCategoryMapping().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSSettingsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 72 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and setSubTabs().
Here is the call graph for this function:
|
protected |
csv export of imported remote courses
Definition at line 1318 of file class.ilECSSettingsGUI.php.
References Vendor\Package\$e, $settings, ilUtil\_getObjectsByOperations(), ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilECSUtils\getAdvancedMDValuesForObjId(), ilECSCommunityReader\getInstanceByServerId(), ilECSDataMappingSettings\getInstanceByServerId(), ILIAS\FileDelivery\http(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\lng(), ilECSDataMappingSetting\MAPPING_IMPORT_RCRS, ILIAS\Filesystem\Stream\Streams\ofString(), settings(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Show mapping settings (EContent-Data <-> (Remote)Course.
Definition at line 806 of file class.ilECSSettingsGUI.php.
References $form, $server, ilECSServerSettings\ALL_SERVER, ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), ilECSServerSettings\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), initMappingsForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), setMappingTabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
export released
Definition at line 1474 of file class.ilECSSettingsGUI.php.
References $settings, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilECSUtils\getAdvancedMDValuesForObjId(), ilECSExportManager\getInstance(), ilECSDataMappingSettings\getInstanceByServerId(), ILIAS\FileDelivery\http(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Filesystem\Stream\Streams\ofString(), and settings().
Here is the call graph for this function:
|
protected |
Show imported materials.
Definition at line 1269 of file class.ilECSSettingsGUI.php.
References ilUtil\_getObjectsByOperations(), ILIAS\Repository\ctrl(), ilECSServerSettings\getInstance(), ilECSUtils\getPossibleRemoteTypes(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
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.
Definition at line 765 of file class.ilECSSettingsGUI.php.
References $form, $server, ilECSServerSettings\ALL_SERVER, ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), ilECSServerSettings\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), initMappingsForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), setMappingTabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Init category mapping form.
Definition at line 1175 of file class.ilECSSettingsGUI.php.
References $tpl, $type, buildPath(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilGlobalTemplateInterface\get(), ilECSCategoryMapping\getPossibleFields(), ilECSUtils\getPossibleRemoteTypes(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setVariable(), 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
Definition at line 891 of file class.ilECSSettingsGUI.php.
References $form, $server, ilECSUtils\_getOptionalEContentFields(), ilECSUtils\_getOptionalECourseFields(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilECSDataMappingSettings\getInstanceByServerId(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), ILIAS\Repository\lng(), ilECSDataMappingSetting\MAPPING_EXPORT, ilECSDataMappingSetting\MAPPING_IMPORT_CRS, ilECSDataMappingSetting\MAPPING_IMPORT_RCRS, prepareFieldSelection(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
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 1163 of file class.ilECSSettingsGUI.php.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
Here is the caller graph for this function:
|
protected |
Init settings.
Definition at line 1577 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
Definition at line 276 of file class.ilECSSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$key, $path, $tpl, $user, ilECSSetting\AUTH_APACHE, ilECSSetting\AUTH_CERTIFICATE, buildPath(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilGlobalTemplateInterface\get(), ILIAS\Repository\lng(), prepareRoleSelect(), ilECSSetting\PROTOCOL_HTTPS, settings(), and ilGlobalTemplateInterface\setVariable().
Referenced by create(), edit(), and settings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Load from post.
Definition at line 518 of file class.ilECSSettingsGUI.php.
References 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 111 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\access(), ilECSServerSettings\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
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 |
Definition at line 1562 of file class.ilECSSettingsGUI.php.
References ilAdvancedMDRecord\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by initMappingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
get global role array
Definition at line 1634 of file class.ilECSSettingsGUI.php.
References ilObject\_lookupTitle(), ilUtil\_sortIds(), and ILIAS\Repository\lng().
Referenced by initSettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Read all importable econtent.
Definition at line 156 of file class.ilECSSettingsGUI.php.
References $server, ilECSTaskScheduler\_getInstanceByServerId(), ilECSServerSettings\ACTIVE_SERVER, ilECSServerSettings\getInstance(), imported(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Refresh participants.
Definition at line 545 of file class.ilECSSettingsGUI.php.
References Vendor\Package\$e, $server, ilECSServerSettings\ALL_SERVER, ILIAS\Repository\ctrl(), ilECSServerSettings\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ilECSParticipantSettings\getInstanceByServerId(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Show released materials.
Definition at line 1427 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilECSExportManager\getInstance(), ilECSUtils\getPossibleReleaseTypes(), ILIAS\Repository\lng(), settings(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Save settings.
Definition at line 474 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), initSettings(), ILIAS\Repository\lng(), loadFromPost(), and settings().
Here is the call graph for this function:
|
protected |
Save mappings.
Definition at line 869 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Save mappings.
Definition at line 847 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Handle tabs for ECS data mapping.
Definition at line 728 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), MAPPING_EXPORT, and MAPPING_IMPORT.
Referenced by exportMappings(), and importMappings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
set sub tabs
Definition at line 1585 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ilECSServerSettings\getInstance().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show settings
Definition at line 265 of file class.ilECSSettingsGUI.php.
References ILIAS\Repository\form(), and initSettingsForm().
Referenced by activate(), deactivate(), delete(), doDelete(), exportImported(), exportReleased(), initSettings(), initSettingsForm(), 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 1152 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
Definition at line 455 of file class.ilECSSettingsGUI.php.
References edit(), initSettings(), ILIAS\Repository\lng(), loadFromPost(), overview(), and settings().
Here is the call graph for this function:
|
protected |
update category mapping
Definition at line 1077 of file class.ilECSSettingsGUI.php.
References categoryMapping(), ILIAS\Repository\ctrl(), editCategoryMapping(), ILIAS\Repository\form(), initCategoryMappingForm(), initRule(), ILIAS\Repository\lng(), ilECSCategoryMappingRule\TYPE_BY_TYPE, ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
Here is the call graph for this function:
|
protected |
update whitelist
Definition at line 663 of file class.ilECSSettingsGUI.php.
References Vendor\Package\$e, $server, ilECSServerSettings\ACTIVE_SERVER, ILIAS\Repository\ctrl(), ilECSServerSettings\getInstance(), ilECSCommunityCache\getInstance(), ilECSCommunityReader\getInstanceByServerId(), ILIAS\Repository\lng(), and validateImportTypes().
Here is the call graph for this function:
|
protected |
Update configuration title.
Definition at line 493 of file class.ilECSSettingsGUI.php.
References ilECSCommunityReader\getInstanceByServerId(), and settings().
Here is the call graph for this function:
|
protected |
Validate import types.
| array | $import_types |
Definition at line 632 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:
|
private |
Definition at line 38 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 34 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 45 of file class.ilECSSettingsGUI.php.
Referenced by exportMappings(), importMappings(), and initMappingsForm().
|
private |
Definition at line 42 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 33 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 31 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 40 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 46 of file class.ilECSSettingsGUI.php.
Referenced by deleteCategoryMappings().
|
private |
Definition at line 43 of file class.ilECSSettingsGUI.php.
Referenced by communities(), cp(), exportImported(), and exportReleased().
|
private |
Definition at line 35 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 39 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 32 of file class.ilECSSettingsGUI.php.
Referenced by communities(), initCategoryMappingForm(), and initSettingsForm().
|
private |
Definition at line 37 of file class.ilECSSettingsGUI.php.
|
private |
Definition at line 41 of file class.ilECSSettingsGUI.php.
Referenced by initSettingsForm().
| const ilECSSettingsGUI::MAPPING_EXPORT = 1 |
Definition at line 28 of file class.ilECSSettingsGUI.php.
Referenced by setMappingTabs().
| const ilECSSettingsGUI::MAPPING_IMPORT = 2 |
Definition at line 29 of file class.ilECSSettingsGUI.php.
Referenced by setMappingTabs().