ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 $DIC, $lng, and initObject().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 621 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $ilCtrl, $ilErr, $tpl, and ilUtil\sendFailure().
|
protected |
Copy on template.
Definition at line 481 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $ilCtrl, $ilErr, and ilUtil\sendFailure().
|
protected |
Create template import form.
Definition at line 166 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $ilCtrl, and ilFileInputGUI\setSuffixes().
Referenced by importTemplate(), and showImportForm().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 653 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $ilCtrl, $ilErr, $tpl, and ilUtil\sendFailure().
|
protected |
Delete chosen didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 589 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $ilCtrl, $ilErr, $tpl, and ilUtil\sendFailure().
ilDidacticTemplateSettingsGUI::editImport | ( | $a_settings | ) |
ilCtrl $ilCtrl
ilDidacticTemplateSetting | $a_settings |
Definition at line 752 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $ilCtrl, ilDidacticTemplateObjSettings\assignTemplate(), ilDidacticTemplateObjSettings\getAssignmentsByTemplateID(), and ilDidacticTemplateObjSettings\transferAutoGenerateStatus().
Referenced by importTemplate().
ilDidacticTemplateSettingsGUI::editImportForm | ( | ) |
Definition at line 726 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $ilCtrl, and ilFileInputGUI\setSuffixes().
Referenced by importTemplate(), and showEditImportForm().
|
protected |
Edit template.
Definition at line 264 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $GLOBALS, $ilCtrl, initEditTemplate(), and ilUtil\sendFailure().
Referenced by updateTemplate().
|
protected |
Export one template.
Definition at line 510 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $GLOBALS, $ilCtrl, $ilErr, $tpl, ilUtil\deliverData(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
|
protected |
Import template.
Definition at line 193 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $ilCtrl, createImportForm(), editImport(), editImportForm(), ilLoggerFactory\getLogger(), ilUtil\ilTempnam(), ilDidacticTemplateImport\IMPORT_FILE, ilUtil\sendFailure(), showEditImportForm(), and showImportForm().
|
protected |
Init edit template form.
ilDidacticTemplateSetting | $set |
Definition at line 355 of file class.ilDidacticTemplateSettingsGUI.php.
References $def, $DIC, $form, $GLOBALS, $ilCtrl, $info, $languages, PHPMailer\PHPMailer\$options, $title, $type, ilMDLanguageItem\_getLanguages(), 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 46 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $ilCtrl, and initEditTemplate().
Referenced by __construct().
|
protected |
Show didactic template administration.
ilToolbarGUI $ilToolbar
Definition at line 109 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $GLOBALS, $ilCtrl, $lng, and $table.
ilDidacticTemplateSettingsGUI::showEditImportForm | ( | ) |
Definition at line 717 of file class.ilDidacticTemplateSettingsGUI.php.
References $form, $GLOBALS, and editImportForm().
Referenced by importTemplate().
|
protected |
Show template import form.
ilTabsGUI $ilTabs
Definition at line 139 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $GLOBALS, $ilCtrl, and createImportForm().
Referenced by importTemplate().
|
protected |
Update template.
Definition at line 296 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, $form, $ilCtrl, $lang, editTemplate(), initEditTemplate(), and ilUtil\sendFailure().
|
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.