ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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.
ilDidacticTemplateSettingsGUI: ilObjRoleFolderGUI 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\checkInput(), ILIAS\Export\ImportStatus\FAILED, ilPropertyFormGUI\getInput(), ilFileUtils\ilTempnam(), ilFileUtils\moveUploadedFile(), ilDidacticTemplateImport\setInputFile(), ilPropertyFormGUI\setValuesByPost(), and ilDidacticTemplateImport\validateImportFile().
Referenced by importTemplate().
|
protected |
string[] | $template_ids |
Definition at line 631 of file class.ilDidacticTemplateSettingsGUI.php.
References $id, ILIAS\Repository\ctrl(), exit, ilDidacticTemplateSettings\getInstance(), ILIAS\Repository\lng(), and renderer().
Referenced by handleTableActions().
|
protected |
Definition at line 604 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilDidacticTemplateSetting\getId(), ILIAS\Repository\lng(), and ilDidacticTemplateCopier\start().
Referenced by handleTableActions().
|
protected |
Definition at line 265 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilImageFileInputGUI\setAllowDeletion(), and ilFileInputGUI\setSuffixes().
Referenced by importTemplate(), and 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(), initTemplatesFromRequest(), 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().
Referenced by importTemplate().
ilDidacticTemplateSettingsGUI::editImportForm | ( | ) |
Definition at line 775 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by importTemplate(), and showEditImportForm().
|
protected |
Definition at line 385 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), initEditTemplate(), initTemplateFromRequest(), ILIAS\Repository\lng(), null, and setEditTabs().
Referenced by handleTableActions(), and handleUpdateFailure().
ilDidacticTemplateSettingsGUI::executeCommand | ( | ) |
PhpMissingBreakStatementInspection
Definition at line 126 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initEditTemplate(), initReferenceFromRequest(), initTemplateFromRequest(), ilDidacticTemplateSetting\isAutoGenerated(), setEditTabs(), and ilMultilingualismGUI\setStartValues().
|
protected |
Definition at line 616 of file class.ilDidacticTemplateSettingsGUI.php.
References ilUtil\deliverData(), ilDidacticTemplateSetting\getId(), and ilDidacticTemplateXmlWriter\write().
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 editTemplate(), ILIAS\Repository\lng(), null, and ilPropertyFormGUI\setValuesByPost().
Referenced by updateTemplate().
|
protected |
Definition at line 321 of file class.ilDidacticTemplateSettingsGUI.php.
References Vendor\Package\$e, ILIAS\Repository\access(), checkInput(), createImportForm(), ILIAS\Repository\ctrl(), editImport(), editImportForm(), ILIAS\Export\ImportStatus\FAILED, ilDidacticTemplateImport\IMPORT_FILE, initTemplateFromRequest(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), showEditImportForm(), showImportForm(), and ILIAS\Repository\upload().
|
protected |
Definition at line 476 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilDidacticTemplateSetting\getAssignments(), ilDidacticTemplateSetting\getEffectiveFrom(), ilRepositorySelector2InputGUI\getExplorerGUI(), ilDidacticTemplateSetting\getIconHandler(), ilDidacticTemplateSetting\getInfo(), ilLoggerFactory\getLogger(), ilDidacticTemplateSetting\getPresentationDescription(), ilDidacticTemplateSetting\getPresentationTitle(), ilDidacticTemplateSetting\getTranslations(), ilDidacticTemplateSetting\isAutoGenerated(), ilDidacticTemplateSetting\isEnabled(), ilDidacticTemplateSetting\isExclusive(), ILIAS\Repository\lng(), ilObjectPlugin\lookupTxtById(), ilImageFileInputGUI\setImage(), ilFormPropertyGUI\setRequired(), and ilTextAreaInputGUI\setValue().
Referenced by editTemplate(), executeCommand(), and updateTemplate().
|
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(), null, and ILIAS\Repository\refinery().
Referenced by editTemplate(), executeCommand(), importTemplate(), showEditImportForm(), showImportForm(), and updateTemplate().
|
protected |
transforms selected tpls from post to SplFixedArray
Definition at line 102 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by deleteTemplates().
|
protected |
Definition at line 210 of file class.ilDidacticTemplateSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilDidacticTemplateSettingsTableFilter\init(), 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 editTemplate(), executeCommand(), showEditImportForm(), and showImportForm().
ilDidacticTemplateSettingsGUI::showEditImportForm | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 765 of file class.ilDidacticTemplateSettingsGUI.php.
References editImportForm(), initTemplateFromRequest(), and setEditTabs().
Referenced by importTemplate().
|
protected |
Definition at line 246 of file class.ilDidacticTemplateSettingsGUI.php.
References createImportForm(), ILIAS\Repository\ctrl(), initTemplateFromRequest(), ILIAS\Repository\lng(), setEditTabs(), and ILIAS\Repository\tabs().
Referenced by importTemplate().
|
protected |
Definition at line 406 of file class.ilDidacticTemplateSettingsGUI.php.
References $lang, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), handleUpdateFailure(), initEditTemplate(), initTemplateFromRequest(), 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.
|
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.