ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Settings for a single didactic template. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. More... | |
showEditImportForm () | |
editImportForm () | |
editImport ($a_settings) | |
ilCtrl $ilCtrl More... | |
Protected Member Functions | |
initObject ($a_id) | |
overview () | |
Show didactic template administration. More... | |
showImportForm (ilPropertyFormGUI $form=NULL) | |
Show template import form. More... | |
createImportForm () | |
Create template import form. More... | |
importTemplate () | |
Import template. More... | |
editTemplate (ilPropertyFormGUI $form=null) | |
Edit template. More... | |
updateTemplate () | |
Update template. More... | |
initEditTemplate (ilDidacticTemplateSetting $set) | |
Init edit template form. More... | |
copyTemplate () | |
Copy on template. More... | |
exportTemplate () | |
Export one template. More... | |
deleteTemplates () | |
Delete chosen didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. More... | |
activateTemplates () | |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. More... | |
deactivateTemplates () | |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. More... | |
Private Attributes | |
$parent_object | |
$object = null | |
$lng | |
Settings for a single didactic template.
ilDidacticTemplateSettingsGUI: ilObjRoleFolderGUI ilDidacticTemplateSettingsGUI: ilMultilingualismGUI, ilPropertyFormGUI
Definition at line 14 of file class.ilDidacticTemplateSettingsGUI.php.
ilDidacticTemplateSettingsGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
Definition at line 28 of file class.ilDidacticTemplateSettingsGUI.php.
References $lng, and initObject().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 625 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Copy on template.
Definition at line 487 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Create template import form.
Definition at line 159 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $ilCtrl, and array.
Referenced by importTemplate(), and showImportForm().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 656 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, $tpl, array, object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Delete chosen didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 594 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, $tpl, array, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilDidacticTemplateSettingsGUI::editImport | ( | $a_settings | ) |
ilCtrl $ilCtrl
ilDidacticTemplateSetting | $a_settings |
Definition at line 752 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, ilDidacticTemplateObjSettings\assignTemplate(), ilDidacticTemplateObjSettings\getAssignmentsByTemplateID(), and ilDidacticTemplateObjSettings\transferAutoGenerateStatus().
Referenced by importTemplate().
ilDidacticTemplateSettingsGUI::editImportForm | ( | ) |
Definition at line 728 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $ilCtrl, and array.
Referenced by importTemplate(), and showEditImportForm().
|
protected |
Edit template.
Definition at line 268 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, initEditTemplate(), and ilUtil\sendFailure().
Referenced by updateTemplate().
|
protected |
Export one template.
Definition at line 514 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, $ilErr, $tpl, array, ilUtil\deliverData(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
|
protected |
Import template.
Definition at line 184 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $ilCtrl, createImportForm(), editImport(), editImportForm(), ilLoggerFactory\getLogger(), ilUtil\ilTempnam(), ilDidacticTemplateImport\IMPORT_FILE, ilUtil\moveUploadedFile(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showEditImportForm(), and showImportForm().
|
protected |
Init edit template form.
ilDidacticTemplateSetting | $set |
Definition at line 363 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $info, $languages, $options, $title, ilMDLanguageItem\_getLanguages(), array, ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getEffectiveFrom(), ilRepositorySelector2InputGUI\getExplorerGUI(), ilDidacticTemplateSetting\getInfo(), ilDidacticTemplateSetting\getPresentationDescription(), ilDidacticTemplateSetting\getPresentationTitle(), ilDidacticTemplateSetting\getTranslations(), ilDidacticTemplateSetting\isAutoGenerated(), ilDidacticTemplateSetting\isEnabled(), ilDidacticTemplateSetting\isExclusive(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilTextAreaInputGUI\setValue().
Referenced by editTemplate(), initObject(), and updateTemplate().
|
protected |
int | $a_id |
Definition at line 45 of file class.ilDidacticTemplateSettingsGUI.php.
References $cmd, $ilCtrl, initEditTemplate(), and object.
Referenced by __construct().
|
protected |
Show didactic template administration.
ilToolbarGUI $ilToolbar
Definition at line 105 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, and $lng.
ilDidacticTemplateSettingsGUI::showEditImportForm | ( | ) |
Definition at line 719 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, and editImportForm().
Referenced by importTemplate().
|
protected |
Show template import form.
ilTabsGUI $ilTabs
Definition at line 131 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, and createImportForm().
Referenced by importTemplate().
|
protected |
Update template.
Definition at line 299 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $lang, array, editTemplate(), initEditTemplate(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
Definition at line 23 of file class.ilDidacticTemplateSettingsGUI.php.
Referenced by __construct(), and overview().
|
private |
Definition at line 21 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 16 of file class.ilDidacticTemplateSettingsGUI.php.