ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMailTemplateGUI. More...
Public Member Functions | |
__construct (\ilObject $parentObject, \ilTemplate $tpl=null, \ilCtrl $ctrl=null, \ilLanguage $lng=null, \ilToolbarGUI $toolbar=null, \ilRbacSystem $rbacsystem=null, \ilErrorHandling $error=null, HTTPServices $http=null, Factory $uiFactory=null, Renderer $uiRenderer=null, \ilMailTemplateService $templateService=null) | |
ilMailTemplateGUI constructor. More... | |
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) | |
Protected Attributes | |
$form | |
$tpl | |
$ctrl | |
$lng | |
$toolbar | |
$rbacsystem | |
$parentObject | |
$error | |
$service | |
$http | |
$uiFactory | |
$uiRenderer | |
Private Member Functions | |
isEditingAllowed () | |
Class ilMailTemplateGUI.
Definition at line 14 of file class.ilMailTemplateGUI.php.
ilMailTemplateGUI::__construct | ( | \ilObject | $parentObject, |
\ilTemplate | $tpl = null , |
||
\ilCtrl | $ctrl = null , |
||
\ilLanguage | $lng = null , |
||
\ilToolbarGUI | $toolbar = null , |
||
\ilRbacSystem | $rbacsystem = null , |
||
\ilErrorHandling | $error = null , |
||
HTTPServices | $http = null , |
||
Factory | $uiFactory = null , |
||
Renderer | $uiRenderer = null , |
||
\ilMailTemplateService | $templateService = null |
||
) |
ilMailTemplateGUI constructor.
\ilObject | $parentObject | |
ilTemplate | null | $tpl | |
ilCtrl | null | $ctrl | |
ilLanguage | null | $lng | |
ilToolbarGUI | null | $toolbar | |
ilRbacSystem | null | $rbacsystem | |
ilErrorHandling | null | $error | |
HTTPServices | null | $http | |
Factory | null | $uiFactory | |
Renderer | null | $uiRenderer | |
ilMailTemplateService | null | $templateService |
Definition at line 66 of file class.ilMailTemplateGUI.php.
References $ctrl, $DIC, $error, $http, $lng, $parentObject, $rbacsystem, $toolbar, $tpl, $uiFactory, $uiRenderer, and ILIAS\FileDelivery\http().
|
protected |
Definition at line 356 of file class.ilMailTemplateGUI.php.
References $template, ILIAS\FileDelivery\http(), isEditingAllowed(), ilUtil\sendFailure(), and showTemplates().
|
protected |
Definition at line 402 of file class.ilMailTemplateGUI.php.
References ILIAS\FileDelivery\http(), isEditingAllowed(), ilUtil\sendFailure(), and showTemplates().
ilMailTemplateGUI::executeCommand | ( | ) |
Definition at line 147 of file class.ilMailTemplateGUI.php.
ilMailTemplateGUI::getAjaxPlaceholdersById | ( | ) |
Definition at line 439 of file class.ilMailTemplateGUI.php.
References $context, $key, exit, ilMailTemplateContextService\getTemplateContextById(), ILIAS\FileDelivery\http(), and ilUtil\stripSlashes().
|
protected |
\ilMailTemplate | null | $template |
Definition at line 462 of file class.ilMailTemplateGUI.php.
References $context, $form, $id, $key, $message, $template, $title, ilMailTemplateContextService\getTemplateContextById(), ilMailTemplateContextService\getTemplateContexts(), isEditingAllowed(), and ilUtil\sendFailure().
Referenced by insertTemplate(), showEditTemplateForm(), showInsertTemplateForm(), and updateTemplate().
|
protected |
Definition at line 193 of file class.ilMailTemplateGUI.php.
References $form, ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), isEditingAllowed(), ilUtil\sendFailure(), and showInsertTemplateForm().
|
private |
Definition at line 139 of file class.ilMailTemplateGUI.php.
Referenced by confirmDeleteTemplate(), deleteTemplate(), getTemplateForm(), insertTemplate(), setAsContextDefault(), showTemplates(), unsetAsContextDefault(), and updateTemplate().
|
protected |
\ilPropertyFormGUI | $form | |
\ilMailTemplate | $template |
Definition at line 341 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 600 of file class.ilMailTemplateGUI.php.
References $template, ILIAS\FileDelivery\http(), isEditingAllowed(), ilUtil\sendFailure(), and showTemplates().
|
protected |
\ilPropertyFormGUI | null | $form |
Definition at line 312 of file class.ilMailTemplateGUI.php.
References $form, $template, getTemplateForm(), ILIAS\FileDelivery\http(), populateFormWithTemplate(), ilUtil\sendFailure(), and showTemplates().
Referenced by updateTemplate().
|
protected |
\ilPropertyFormGUI | null | $form |
Definition at line 239 of file class.ilMailTemplateGUI.php.
References $form, and getTemplateForm().
Referenced by insertTemplate().
|
protected |
Definition at line 166 of file class.ilMailTemplateGUI.php.
References $tbl, ilLinkButton\getInstance(), ilMailTemplateContextService\getTemplateContexts(), isEditingAllowed(), and ilUtil\sendFailure().
Referenced by confirmDeleteTemplate(), deleteTemplate(), setAsContextDefault(), showEditTemplateForm(), unsetAsContextDefault(), and updateTemplate().
ilMailTemplateGUI::unsetAsContextDefault | ( | ) |
Definition at line 570 of file class.ilMailTemplateGUI.php.
References $template, ILIAS\FileDelivery\http(), isEditingAllowed(), ilUtil\sendFailure(), and showTemplates().
|
protected |
Definition at line 251 of file class.ilMailTemplateGUI.php.
References $form, ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), ILIAS\FileDelivery\http(), isEditingAllowed(), ilUtil\sendFailure(), showEditTemplateForm(), and showTemplates().
|
protected |
Definition at line 23 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 17 of file class.ilMailTemplateGUI.php.
Referenced by getTemplateForm(), insertTemplate(), showEditTemplateForm(), showInsertTemplateForm(), and updateTemplate().
|
protected |
Definition at line 44 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 29 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 20 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilMailTemplateGUI.php.
Referenced by __construct().