ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Settings for a single didactic template. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
Protected Member Functions | |
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... | |
confirmDelete () | |
Show delete confirmation screen. More... | |
deleteTemplates () | |
Delete chosen didactic templates @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl. More... | |
activateTemplates () | |
Activate didactic templates @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl. More... | |
deactivateTemplates () | |
Activate didactic templates @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl. More... | |
Private Attributes | |
$parent_object | |
$lng | |
Settings for a single didactic template.
@ilCtrl_IsCalledBy 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 @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl.
Definition at line 414 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Show delete confirmation screen.
Definition at line 350 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $GLOBALS, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendQuestion().
|
protected |
Copy on template.
Definition at line 299 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Create template import form.
Definition at line 107 of file class.ilDidacticTemplateSettingsGUI.php.
References $file, and $ilCtrl.
Referenced by importTemplate(), and showImportForm().
|
protected |
Activate didactic templates @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl.
Definition at line 445 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Delete chosen didactic templates @global ilErrorHandling $ilErr @global ilCtrl $ilCtrl.
Definition at line 383 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, $tpl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Edit template.
Definition at line 182 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 326 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $ilCtrl, $ilErr, ilUtil\deliverData(), and ilUtil\sendFailure().
|
protected |
Import template.
Definition at line 132 of file class.ilDidacticTemplateSettingsGUI.php.
References $_REQUEST, $file, $ilCtrl, createImportForm(), ilLoggerFactory\getLogger(), ilUtil\ilTempnam(), ilDidacticTemplateImport\IMPORT_FILE, ilUtil\moveUploadedFile(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showImportForm().
|
protected |
Init edit template form.
Definition at line 244 of file class.ilDidacticTemplateSettingsGUI.php.
References $ilCtrl, $info, $options, ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getDescription(), ilDidacticTemplateSetting\getInfo(), and ilDidacticTemplateSetting\getTitle().
Referenced by editTemplate(), and updateTemplate().
|
protected |
Show didactic template administration.
@global ilToolbarGUI $ilToolbar
Definition at line 60 of file class.ilDidacticTemplateSettingsGUI.php.
|
protected |
Show template import form.
@global ilTabsGUI $ilTabs
Definition at line 86 of file class.ilDidacticTemplateSettingsGUI.php.
References $GLOBALS, $ilCtrl, and createImportForm().
Referenced by importTemplate().
|
protected |
Update template.
Definition at line 212 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.