ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Settings for a single didactic template. More...
Public Member Functions | |
__construct (ilObjectGUI $a_parent_obj) | |
executeCommand () | |
applyFilter () | |
resetFilter () | |
showEditImportForm (?ilPropertyFormGUI $form=null) | |
editImportForm () | |
editImport (ilDidacticTemplateSetting $a_settings) | |
Protected Member Functions | |
initReferenceFromRequest () | |
initTemplatesFromRequest () | |
transforms selected tpls from post to SplFixedArray More... | |
initTemplateFromRequest () | |
handleTableActions () | |
overview () | |
showImportForm (?ilPropertyFormGUI $form=null) | |
createImportForm () | |
checkInput (ilPropertyFormGUI $form, ilDidacticTemplateImport $import) | |
importTemplate () | |
editTemplate (?int $template_id=null, ?ilPropertyFormGUI $form=null) | |
updateTemplate () | |
handleUpdateFailure (ilPropertyFormGUI $form) | |
initEditTemplate (ilDidacticTemplateSetting $set) | |
copyTemplate (int $template_id) | |
exportTemplate (int $template_id) | |
confirmDelete (array $template_ids) | |
deleteTemplates () | |
activateTemplates (array $template_ids) | |
deactivateTemplates (array $template_ids) | |
setEditTabs (string $a_tab_active="edit") | |
Protected Attributes | |
UIRenderer | $renderer |
UIFactory | $ui_factory |
StaticURLService | $static_url |
DataFactory | $data_factory |
Settings for a single didactic template.
@ilCtrl_IsCalledBy ilDidacticTemplateSettingsGUI: ilObjRoleFolderGUI @ilCtrl_Calls ilDidacticTemplateSettingsGUI: ilMultilingualismGUI, ilPropertyFormGUI
Definition at line 43 of file class.ilDidacticTemplateSettingsGUI.php.
ilDidacticTemplateSettingsGUI::__construct | ( | ilObjectGUI | $a_parent_obj | ) |
Definition at line 67 of file class.ilDidacticTemplateSettingsGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), renderer(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\upload().
|
protected |
string[] | $template_ids |
Definition at line 688 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setOnScreenMessage().
Referenced by handleTableActions().
ilDidacticTemplateSettingsGUI::applyFilter | ( | ) |
Definition at line 236 of file class.ilDidacticTemplateSettingsGUI.php.
References overview().
|
protected |
Definition at line 290 of file class.ilDidacticTemplateSettingsGUI.php.
References ilPropertyFormGUI\setValuesByPost().
|
protected |
string[] | $template_ids |
Definition at line 631 of file class.ilDidacticTemplateSettingsGUI.php.
References $id, ILIAS\Repository\ctrl(), exit, ilDidacticTemplateSettings\getInstance(), and renderer().
Referenced by handleTableActions().
|
protected |
Definition at line 604 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilDidacticTemplateSetting\getId(), and ILIAS\Repository\lng().
Referenced by handleTableActions().
|
protected |
Definition at line 265 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showImportForm().
|
protected |
string[] | $template_ids |
Definition at line 710 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setOnScreenMessage().
Referenced by handleTableActions().
|
protected |
string[] | $template_ids |
Definition at line 666 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setOnScreenMessage().
ilDidacticTemplateSettingsGUI::editImport | ( | ilDidacticTemplateSetting | $a_settings | ) |
Definition at line 793 of file class.ilDidacticTemplateSettingsGUI.php.
References ilDidacticTemplateObjSettings\assignTemplate(), ILIAS\Repository\ctrl(), ilDidacticTemplateSetting\delete(), ilDidacticTemplateObjSettings\getAssignmentsByTemplateID(), ilDidacticTemplateSetting\getId(), and ilDidacticTemplateObjSettings\transferAutoGenerateStatus().
ilDidacticTemplateSettingsGUI::editImportForm | ( | ) |
Definition at line 775 of file class.ilDidacticTemplateSettingsGUI.php.
References ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setShowTopButtons(), and ilPropertyFormGUI\setTitle().
|
protected |
Definition at line 385 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), and ILIAS\Repository\lng().
Referenced by handleTableActions().
ilDidacticTemplateSettingsGUI::executeCommand | ( | ) |
@noinspection PhpMissingBreakStatementInspection
Definition at line 126 of file class.ilDidacticTemplateSettingsGUI.php.
References $setting, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initEditTemplate(), initReferenceFromRequest(), initTemplateFromRequest(), ilDidacticTemplateSetting\isAutoGenerated(), and setEditTabs().
|
protected |
Definition at line 616 of file class.ilDidacticTemplateSettingsGUI.php.
References ilUtil\deliverData(), and ilDidacticTemplateSetting\getId().
Referenced by handleTableActions().
|
protected |
Definition at line 170 of file class.ilDidacticTemplateSettingsGUI.php.
References activateTemplates(), confirmDelete(), copyTemplate(), deactivateTemplates(), editTemplate(), exportTemplate(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 469 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\lng(), and ilPropertyFormGUI\setValuesByPost().
|
protected |
Definition at line 321 of file class.ilDidacticTemplateSettingsGUI.php.
References Vendor\Package\$e, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Export\ImportStatus\FAILED, ilDidacticTemplateImport\import(), ilDidacticTemplateImport\IMPORT_FILE, ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\upload().
|
protected |
Definition at line 476 of file class.ilDidacticTemplateSettingsGUI.php.
References $info, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getEffectiveFrom(), ilDidacticTemplateSetting\getIconHandler(), ilDidacticTemplateSetting\getInfo(), ilLoggerFactory\getLogger(), ilDidacticTemplateSetting\getPresentationDescription(), ilDidacticTemplateSetting\getPresentationTitle(), ilDidacticTemplateSetting\getTranslations(), ilDidacticTemplateSetting\isAutoGenerated(), ilDidacticTemplateSetting\isEnabled(), ilDidacticTemplateSetting\isExclusive(), ILIAS\Repository\lng(), ilObjectPlugin\lookupTxtById(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setShowTopButtons(), and ilPropertyFormGUI\setTitle().
Referenced by executeCommand().
|
protected |
Definition at line 89 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
|
protected |
Definition at line 113 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand(), and showImportForm().
|
protected |
transforms selected tpls from post to SplFixedArray
Definition at line 102 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\FileDelivery\http().
|
protected |
Definition at line 210 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\toolbar().
Referenced by applyFilter(), and resetFilter().
ilDidacticTemplateSettingsGUI::resetFilter | ( | ) |
Definition at line 241 of file class.ilDidacticTemplateSettingsGUI.php.
References overview().
|
protected |
Definition at line 728 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand(), and showImportForm().
ilDidacticTemplateSettingsGUI::showEditImportForm | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 765 of file class.ilDidacticTemplateSettingsGUI.php.
References ilPropertyFormGUI\getHTML().
|
protected |
Definition at line 246 of file class.ilDidacticTemplateSettingsGUI.php.
References $setting, createImportForm(), initTemplateFromRequest(), ILIAS\Repository\lng(), setEditTabs(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 406 of file class.ilDidacticTemplateSettingsGUI.php.
References $lang, ILIAS\Repository\access(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ILIAS\Repository\lng(), and ILIAS\Repository\upload().
|
private |
Definition at line 53 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 52 of file class.ilDidacticTemplateSettingsGUI.php.
|
protected |
Definition at line 63 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 49 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 56 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 50 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 47 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 61 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 55 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 51 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 65 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 57 of file class.ilDidacticTemplateSettingsGUI.php.
|
protected |
Definition at line 45 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 48 of file class.ilDidacticTemplateSettingsGUI.php.
Referenced by executeCommand(), and showImportForm().
|
protected |
Definition at line 62 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 59 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 54 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 58 of file class.ilDidacticTemplateSettingsGUI.php.
|
protected |
Definition at line 46 of file class.ilDidacticTemplateSettingsGUI.php.
|
private |
Definition at line 60 of file class.ilDidacticTemplateSettingsGUI.php.