ILIAS
release_4-3 Revision
|
Settings for a single didactic template. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. | |
executeCommand () | |
Execute command. |
Protected Member Functions | |
overview () | |
Show didactic template administration. | |
showImportForm (ilPropertyFormGUI $form=NULL) | |
Show template import form. | |
createImportForm () | |
Create template import form. | |
importTemplate () | |
Import template. | |
editTemplate (ilPropertyFormGUI $form=null) | |
Edit template. | |
updateTemplate () | |
Update template. | |
initEditTemplate (ilDidacticTemplateSetting $set) | |
Init edit template form. | |
copyTemplate () | |
Copy on template. | |
exportTemplate () | |
Export one template. | |
confirmDelete () | |
Show delete confirmation screen. | |
deleteTemplates () | |
Delete chosen didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. | |
activateTemplates () | |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. | |
deactivateTemplates () | |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl. |
Private Attributes | |
$parent_object | |
$lng |
Settings for a single didactic template.
ilDidacticTemplateSettingsGUI: ilObjRoleFolderGUI
Definition at line 13 of file class.ilDidacticTemplateSettingsGUI.php.
ilDidacticTemplateSettingsGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
Definition at line 22 of file class.ilDidacticTemplateSettingsGUI.php.
References $lng.
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 392 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Show delete confirmation screen.
Definition at line 333 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $GLOBALS, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendQuestion().
|
protected |
Copy on template.
Definition at line 287 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Create template import form.
Definition at line 103 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, and $ilCtrl.
Referenced by importTemplate(), and showImportForm().
|
protected |
Activate didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 419 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Delete chosen didactic templates ilErrorHandling $ilErr ilCtrl $ilCtrl.
Definition at line 366 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Edit template.
Definition at line 175 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $GLOBALS, $ilCtrl, initEditTemplate(), and ilUtil\sendFailure().
Referenced by updateTemplate().
ilDidacticTemplateSettingsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 34 of file class.ilDidacticTemplateSettingsGUI.php.
|
protected |
Export one template.
Definition at line 309 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, ilUtil\deliverData(), and ilUtil\sendFailure().
|
protected |
Import template.
Definition at line 128 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, $GLOBALS, $ilCtrl, createImportForm(), ilUtil\ilTempnam(), ilDidacticTemplateImport\IMPORT_FILE, ilUtil\moveUploadedFile(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showImportForm().
|
protected |
Init edit template form.
Definition at line 232 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $title, ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getDescription(), ilDidacticTemplateSetting\getInfo(), ilDidacticTemplateSetting\getTitle(), ilFormPropertyGUI\setRequired(), and ilTextAreaInputGUI\setValue().
Referenced by editTemplate(), and updateTemplate().
|
protected |
Show didactic template administration.
ilToolbarGUI $ilToolbar
Definition at line 60 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, and $lng.
|
protected |
Show template import form.
ilTabsGUI $ilTabs
Definition at line 82 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, and createImportForm().
Referenced by importTemplate().
|
protected |
Update template.
Definition at line 205 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, editTemplate(), initEditTemplate(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
Definition at line 17 of file class.ilDidacticTemplateSettingsGUI.php.
Referenced by __construct(), and overview().
|
private |
Definition at line 15 of file class.ilDidacticTemplateSettingsGUI.php.