ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
Constructor. | |
executeCommand () | |
Execute command. | |
communities () | |
show communities | |
mappings () | |
Show mapping settings (EContent-Data <-> (Remote)Course. |
Protected Member Functions | |
readAll () | |
Read all importable econtent. | |
settings () | |
show settings | |
initSettingsForm () | |
init settings form | |
saveSettings () | |
save settings | |
updateCommunities () | |
update whitelist | |
saveMappings () | |
Save mappings. | |
initMappingsForm () | |
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 () | |
Init settings. | |
setSubTabs () | |
set sub tabs |
Protected Attributes | |
$tpl | |
$lng | |
$ctrl | |
$tabs_gui |
Private Member Functions | |
prepareRoleSelect () | |
get global role array | |
buildPath ($a_ref_id) |
ilECSSettingsGUI::__construct | ( | ) |
Constructor.
public
Definition at line 46 of file class.ilECSSettingsGUI.php.
References $ilCtrl, $lng, $tpl, and initSettings().
|
protected |
save category mapping
Definition at line 574 of file class.ilECSSettingsGUI.php.
References $err, categoryMapping(), initCategoryMappingForm(), initRule(), and ilUtil\sendInfo().
|
private |
Definition at line 1190 of file class.ilECSSettingsGUI.php.
Referenced by initCategoryMappingForm(), and initSettingsForm().
|
protected |
Category mappings.
Definition at line 554 of file class.ilECSSettingsGUI.php.
References initCategoryMappingForm(), initRule(), and showRulesTable().
Referenced by addCategoryMapping(), deleteCategoryMappings(), editCategoryMapping(), and updateCategoryMapping().
ilECSSettingsGUI::communities | ( | ) |
show communities
public
Definition at line 335 of file class.ilECSSettingsGUI.php.
References $reader, ilECSCommunityReader\_getInstance(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilTable2GUI\setTitle().
Referenced by updateCommunities().
|
protected |
Delete selected category mappings.
Definition at line 675 of file class.ilECSSettingsGUI.php.
References $_POST, categoryMapping(), and ilUtil\sendInfo().
|
protected |
Edit category mapping.
Definition at line 611 of file class.ilECSSettingsGUI.php.
References categoryMapping(), initCategoryMappingForm(), initRule(), and ilUtil\sendInfo().
Referenced by updateCategoryMapping().
ilECSSettingsGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 66 of file class.ilECSSettingsGUI.php.
References $cmd, and setSubTabs().
|
protected |
csv export of imported remote courses
protected
Definition at line 874 of file class.ilECSSettingsGUI.php.
References $reader, ilECSDataMappingSettings\_getInstance(), ilECSCommunityReader\_getInstance(), ilUtil\_getObjectsByOperations(), ilAdvancedMDValues\_getValuesByObjId(), ilObject\_lookupDescription(), ilObjRemoteCourse\_lookupMID(), ilObject\_lookupTitle(), ilUtil\deliverData(), and ilFormat\formatUnixTime().
|
protected |
export released
protected
Definition at line 1024 of file class.ilECSSettingsGUI.php.
References ilECSExport\_getExportedIDs(), ilECSDataMappingSettings\_getInstance(), ilAdvancedMDValues\_getValuesByObjId(), ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilUtil\deliverData(), and ilFormat\formatUnixTime().
|
protected |
Show imported materials.
protected
Definition at line 828 of file class.ilECSSettingsGUI.php.
References ilUtil\_getObjectsByOperations(), and settings().
Referenced by readAll().
|
protected |
Init category mapping form.
Definition at line 732 of file class.ilECSSettingsGUI.php.
References $tpl, buildPath(), ilECSCategoryMapping\getPossibleFields(), ilDateTimeInputGUI\setDate(), ilRadioOption\setInfo(), ilFormPropertyGUI\setRequired(), settings(), ilTextInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilSelectInputGUI\setValue(), ilECSCategoryMappingRule\TYPE_DURATION, and ilECSCategoryMappingRule\TYPE_FIXED.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
|
protected |
init mapping form
protected
Definition at line 512 of file class.ilECSSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), ilECSDataMappingSettings\_getInstance(), ilECSUtils\_getOptionalEContentFields(), and prepareFieldSelection().
Referenced by mappings().
|
protected |
Init rule.
int | $rule_id | rule id |
Definition at line 717 of file class.ilECSSettingsGUI.php.
Referenced by addCategoryMapping(), categoryMapping(), editCategoryMapping(), and updateCategoryMapping().
|
protected |
Init settings.
protected
Definition at line 1124 of file class.ilECSSettingsGUI.php.
References ilECSSettings\_getInstance(), and settings().
Referenced by __construct().
|
protected |
init settings form
protected
Definition at line 143 of file class.ilECSSettingsGUI.php.
References $tpl, buildPath(), prepareRoleSelect(), ilECSSettings\PROTOCOL_HTTPS, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilDurationInputGUI\setShowDays(), ilTextInputGUI\setSize(), settings(), ilTextInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by settings().
ilECSSettingsGUI::mappings | ( | ) |
Show mapping settings (EContent-Data <-> (Remote)Course.
public
Definition at line 471 of file class.ilECSSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), initMappingsForm(), and ilUtil\sendInfo().
Referenced by saveMappings().
|
protected |
get options for field selection
array | array of field objects protected |
Definition at line 1103 of file class.ilECSSettingsGUI.php.
References $title, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and ilAdvancedMDRecord\_lookupTitle().
Referenced by initMappingsForm().
|
private |
get global role array
protected
Definition at line 1173 of file class.ilECSSettingsGUI.php.
References ilObject\_lookupTitle(), and ilUtil\_sortIds().
Referenced by initSettingsForm().
|
protected |
Read all importable econtent.
protected
Definition at line 91 of file class.ilECSSettingsGUI.php.
References ilECSTaskScheduler\_getInstance(), ilECSEventQueueReader\handleImportReset(), imported(), and ilUtil\sendInfo().
|
protected |
Show released materials.
protected
Definition at line 977 of file class.ilECSSettingsGUI.php.
References ilECSExport\_getExportedIDs(), and settings().
|
protected |
Save mappings.
protected
Definition at line 495 of file class.ilECSSettingsGUI.php.
References $_POST, ilECSDataMappingSettings\_getInstance(), mappings(), and ilUtil\sendInfo().
|
protected |
save settings
protected
Definition at line 294 of file class.ilECSSettingsGUI.php.
References $_POST, $error, ilUtil\sendInfo(), setSubTabs(), settings(), and ilUtil\stripSlashes().
|
protected |
set sub tabs
protected
Definition at line 1135 of file class.ilECSSettingsGUI.php.
References settings().
Referenced by executeCommand(), and saveSettings().
|
protected |
show settings
protected
Definition at line 129 of file class.ilECSSettingsGUI.php.
References initSettingsForm().
Referenced by imported(), initCategoryMappingForm(), initSettings(), initSettingsForm(), released(), saveSettings(), and setSubTabs().
|
protected |
Show rules table.
Definition at line 698 of file class.ilECSSettingsGUI.php.
References ilECSCategoryMapping\getActiveRules().
Referenced by categoryMapping().
|
protected |
update category mapping
Definition at line 633 of file class.ilECSSettingsGUI.php.
References $err, categoryMapping(), editCategoryMapping(), initCategoryMappingForm(), initRule(), and ilUtil\sendInfo().
|
protected |
update whitelist
protected
Definition at line 379 of file class.ilECSSettingsGUI.php.
References $_POST, $ilLog, $reader, $ref_id, ilECSExport\_deleteEContentIds(), ilObject\_getAllReferences(), ilECSParticipantSettings\_getInstance(), ilECSExport\_isRemote(), ilObjRemoteCourse\_lookupObjIdsByMID(), communities(), elseif(), ilObjectFactory\getInstanceByRefId(), and ilUtil\sendInfo().
|
protected |
Definition at line 37 of file class.ilECSSettingsGUI.php.
|
protected |
Definition at line 36 of file class.ilECSSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilECSSettingsGUI.php.
|
protected |
Definition at line 35 of file class.ilECSSettingsGUI.php.
Referenced by __construct(), initCategoryMappingForm(), and initSettingsForm().