ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Class ilMailTemplateGUI. More...
Public Member Functions | |
__construct (ilObject $parentObject, ilGlobalTemplateInterface $tpl=null, ilCtrlInterface $ctrl=null, ilLanguage $lng=null, ilToolbarGUI $toolbar=null, ilRbacSystem $rbacsystem=null, ilErrorHandling $error=null, GlobalHttpState $http=null, Factory $uiFactory=null, Renderer $uiRenderer=null, ilMailTemplateService $templateService=null) | |
executeCommand () | |
getAjaxPlaceholdersById () | |
unsetAsContextDefault () | |
setAsContextDefault () | |
Protected Member Functions | |
showTemplates () | |
insertTemplate () | |
showInsertTemplateForm (ilPropertyFormGUI $form=null) | |
updateTemplate () | |
showEditTemplateForm (ilPropertyFormGUI $form=null) | |
populateFormWithTemplate (ilPropertyFormGUI $form, ilMailTemplate $template) | |
confirmDeleteTemplate () | |
deleteTemplate () | |
getTemplateForm (ilMailTemplate $template=null) | |
Private Member Functions | |
isEditingAllowed () | |
Class ilMailTemplateGUI.
Definition at line 32 of file class.ilMailTemplateGUI.php.
ilMailTemplateGUI::__construct | ( | ilObject | $parentObject, |
ilGlobalTemplateInterface | $tpl = null , |
||
ilCtrlInterface | $ctrl = null , |
||
ilLanguage | $lng = null , |
||
ilToolbarGUI | $toolbar = null , |
||
ilRbacSystem | $rbacsystem = null , |
||
ilErrorHandling | $error = null , |
||
GlobalHttpState | $http = null , |
||
Factory | $uiFactory = null , |
||
Renderer | $uiRenderer = null , |
||
ilMailTemplateService | $templateService = null |
||
) |
Definition at line 48 of file class.ilMailTemplateGUI.php.
References $DIC, $parentObject, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
|
protected |
Definition at line 293 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplates().
|
protected |
Definition at line 338 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplates().
ilMailTemplateGUI::executeCommand | ( | ) |
Definition at line 83 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl().
ilMailTemplateGUI::getAjaxPlaceholdersById | ( | ) |
ilMailException |
Definition at line 378 of file class.ilMailTemplateGUI.php.
References $context, Vendor\Package\$e, ilMailTemplateContextService\getTemplateContextById(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilManualPlaceholderInputGUI\setInstructionText(), and ilUtil\stripSlashes().
|
protected |
ilMailTemplate | null | $template |
ilMailException |
Definition at line 413 of file class.ilMailTemplateGUI.php.
References $context, Vendor\Package\$e, $form, $id, ILIAS\LTI\ToolProvider\$key, $message, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilMailTemplateContextService\getTemplateContextById(), ilMailTemplateContextService\getTemplateContexts(), ilMailTemplate\getTplId(), isEditingAllowed(), ILIAS\Repository\lng(), ilFormPropertyGUI\setDisabled(), ilFormGUI\setFormAction(), ilRadioOption\setInfo(), and ilPropertyFormGUI\setTitle().
Referenced by insertTemplate(), showEditTemplateForm(), showInsertTemplateForm(), and updateTemplate().
|
protected |
ilMailException |
Definition at line 126 of file class.ilMailTemplateGUI.php.
References Vendor\Package\$e, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), isEditingAllowed(), ILIAS\Repository\lng(), ilPropertyFormGUI\setValuesByPost(), and showInsertTemplateForm().
|
private |
Definition at line 78 of file class.ilMailTemplateGUI.php.
Referenced by confirmDeleteTemplate(), deleteTemplate(), getTemplateForm(), insertTemplate(), setAsContextDefault(), showTemplates(), unsetAsContextDefault(), and updateTemplate().
|
protected |
Definition at line 281 of file class.ilMailTemplateGUI.php.
References ilMailTemplate\getContext(), ilMailTemplate\getLang(), ilMailTemplate\getMessage(), ilMailTemplate\getSubject(), ilMailTemplate\getTitle(), ilMailTemplate\getTplId(), and ilPropertyFormGUI\setValuesByArray().
Referenced by showEditTemplateForm().
ilMailTemplateGUI::setAsContextDefault | ( | ) |
Definition at line 555 of file class.ilMailTemplateGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplates().
|
protected |
Definition at line 250 of file class.ilMailTemplateGUI.php.
References Vendor\Package\$e, ilPropertyFormGUI\getHTML(), getTemplateForm(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), populateFormWithTemplate(), ILIAS\Repository\refinery(), and showTemplates().
Referenced by updateTemplate().
|
protected |
ilPropertyFormGUI | null | $form |
ilMailException |
Definition at line 176 of file class.ilMailTemplateGUI.php.
References ilPropertyFormGUI\getHTML(), and getTemplateForm().
Referenced by insertTemplate().
|
protected |
Definition at line 99 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), ilLinkButton\getInstance(), ilMailTemplateContextService\getTemplateContexts(), isEditingAllowed(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by confirmDeleteTemplate(), deleteTemplate(), setAsContextDefault(), showEditTemplateForm(), unsetAsContextDefault(), and updateTemplate().
ilMailTemplateGUI::unsetAsContextDefault | ( | ) |
Definition at line 525 of file class.ilMailTemplateGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplates().
|
protected |
Definition at line 185 of file class.ilMailTemplateGUI.php.
References Vendor\Package\$e, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilPropertyFormGUI\setValuesByPost(), showEditTemplateForm(), and showTemplates().
|
protected |
Definition at line 36 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 41 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 34 of file class.ilMailTemplateGUI.php.
Referenced by getTemplateForm().
|
protected |
Definition at line 43 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 37 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 40 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 44 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 42 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 38 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 35 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 45 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 46 of file class.ilMailTemplateGUI.php.