ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 580 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Copy on template.
Definition at line 454 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $ilErr, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Create template import form.
Definition at line 153 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $form, $ilCtrl, and array.
Referenced by importTemplate(), and showImportForm().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 608 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 552 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 698 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, ilDidacticTemplateObjSettings\assignTemplate(), ilDidacticTemplateObjSettings\getAssignmentsByTemplateID(), and ilDidacticTemplateObjSettings\transferAutoGenerateStatus().
Referenced by importTemplate().
ilDidacticTemplateSettingsGUI::editImportForm | ( | ) |
Definition at line 674 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $form, $ilCtrl, and array.
Referenced by importTemplate(), and showEditImportForm().
|
protected |
Edit template.
Definition at line 246 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $GLOBALS, $ilCtrl, initEditTemplate(), and ilUtil\sendFailure().
Referenced by updateTemplate().
|
protected |
Export one template.
Definition at line 479 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 178 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $form, $ilCtrl, createImportForm(), editImport(), editImportForm(), ilLoggerFactory\getLogger(), ilUtil\ilTempnam(), ilDidacticTemplateImport\IMPORT_FILE, ilUtil\sendFailure(), ilUtil\sendSuccess(), showEditImportForm(), and showImportForm().
|
protected |
Init edit template form.
ilDidacticTemplateSetting | $set |
Definition at line 331 of file class.ilDidacticTemplateSettingsGUI.php.
References $def, $form, $GLOBALS, $ilCtrl, $info, $options, $title, $type, ilMDLanguageItem\_getLanguages(), array, ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getEffectiveFrom(), ilDidacticTemplateSetting\getInfo(), ilLoggerFactory\getLogger(), ilDidacticTemplateSetting\getPresentationDescription(), ilDidacticTemplateSetting\getPresentationTitle(), ilDidacticTemplateSetting\getTranslations(), ilDidacticTemplateSetting\isAutoGenerated(), ilDidacticTemplateSetting\isEnabled(), ilDidacticTemplateSetting\isExclusive(), ilObjectPlugin\lookupTxtById(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), and ilTextAreaInputGUI\setValue().
Referenced by editTemplate(), initObject(), and updateTemplate().
|
protected |
int | $a_id |
Definition at line 44 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $ilCtrl, initEditTemplate(), and object.
Referenced by __construct().
|
protected |
Show didactic template administration.
ilToolbarGUI $ilToolbar
Definition at line 104 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, $lng, and $table.
ilDidacticTemplateSettingsGUI::showEditImportForm | ( | ) |
Definition at line 665 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $GLOBALS, and editImportForm().
Referenced by importTemplate().
|
protected |
Show template import form.
ilTabsGUI $ilTabs
Definition at line 129 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $GLOBALS, $ilCtrl, and createImportForm().
Referenced by importTemplate().
|
protected |
Update template.
Definition at line 275 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $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.