ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
@ilCtrl_isCalledBy ilMailTemplateGUI: ilObjMailGUI More...
Public Member Functions | |
__construct (protected ilObject $parent_object, ?ilGlobalTemplateInterface $tpl=null, ?ilCtrlInterface $ctrl=null, ?ilLanguage $lng=null, ?ilToolbarGUI $toolbar=null, ?ilRbacSystem $rbacsystem=null, ?ilErrorHandling $error=null, ?GlobalHttpState $http=null, ?Factory $ui_factory=null, ?Renderer $ui_renderer=null, ?ilMailTemplateService $template_service=null) | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
executeCommand () | |
unsetAsContextDefault () | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
Protected Member Functions | |
deleteTemplateCommand () | |
Private Member Functions | |
isEditingAllowed () | |
executeTableActionCommand () | |
showTemplatesCommand () | |
insertTemplateCommand () | |
showInsertTemplateFormCommand (?ilPropertyFormGUI $form=null) | |
updateTemplateCommand () | |
showEditTemplateForm (?ilPropertyFormGUI $form=null) | |
populateFormWithTemplate (ilPropertyFormGUI $form, ilMailTemplate $template) | |
confirmDeleteTemplate () | |
getAjaxPlaceholdersByIdCommand () | |
getTemplateForm (?ilMailTemplate $template=null) | |
setAsContextDefault () | |
@ilCtrl_isCalledBy ilMailTemplateGUI: ilObjMailGUI
Definition at line 30 of file class.ilMailTemplateGUI.php.
ilMailTemplateGUI::__construct | ( | protected ilObject | $parent_object, |
?ilGlobalTemplateInterface | $tpl = null , |
||
?ilCtrlInterface | $ctrl = null , |
||
?ilLanguage | $lng = null , |
||
?ilToolbarGUI | $toolbar = null , |
||
?ilRbacSystem | $rbacsystem = null , |
||
?ilErrorHandling | $error = null , |
||
?GlobalHttpState | $http = null , |
||
?Factory | $ui_factory = null , |
||
?Renderer | $ui_renderer = null , |
||
?ilMailTemplateService | $template_service = null |
||
) |
Definition at line 45 of file class.ilMailTemplateGUI.php.
References $DIC, $rbacsystem, $tpl, $ui_factory, $ui_renderer, ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
|
private |
Definition at line 350 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplatesCommand().
Referenced by executeTableActionCommand().
|
protected |
Definition at line 398 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplatesCommand().
ilMailTemplateGUI::executeCommand | ( | ) |
Definition at line 91 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 102 of file class.ilMailTemplateGUI.php.
References confirmDeleteTemplate(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), setAsContextDefault(), showEditTemplateForm(), and unsetAsContextDefault().
|
private |
Definition at line 443 of file class.ilMailTemplateGUI.php.
References $context, ilMailTemplateContextService\getTemplateContextById(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
ilMailTemplateGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 86 of file class.ilMailTemplateGUI.php.
|
private |
Definition at line 474 of file class.ilMailTemplateGUI.php.
References $context, $form, $id, $message, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilMailTemplateContextService\getTemplateContextById(), ilMailTemplateContextService\getTemplateContexts(), ilMailTemplate\getTplId(), isEditingAllowed(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by insertTemplateCommand(), showEditTemplateForm(), showInsertTemplateFormCommand(), and updateTemplateCommand().
ilMailTemplateGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 79 of file class.ilMailTemplateGUI.php.
|
private |
Definition at line 152 of file class.ilMailTemplateGUI.php.
References $form, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), error(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), isEditingAllowed(), ILIAS\Repository\lng(), ilPropertyFormGUI\setValuesByPost(), and showInsertTemplateFormCommand().
|
private |
Definition at line 74 of file class.ilMailTemplateGUI.php.
Referenced by confirmDeleteTemplate(), deleteTemplateCommand(), getTemplateForm(), insertTemplateCommand(), setAsContextDefault(), showTemplatesCommand(), unsetAsContextDefault(), and updateTemplateCommand().
|
private |
Definition at line 338 of file class.ilMailTemplateGUI.php.
References $form, ilMailTemplate\getContext(), ilMailTemplate\getLang(), ilMailTemplate\getMessage(), ilMailTemplate\getSubject(), ilMailTemplate\getTitle(), ilMailTemplate\getTplId(), and ilPropertyFormGUI\setValuesByArray().
Referenced by showEditTemplateForm().
|
private |
Definition at line 630 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplatesCommand().
Referenced by executeTableActionCommand().
|
private |
Definition at line 301 of file class.ilMailTemplateGUI.php.
References $form, ilPropertyFormGUI\getHTML(), getTemplateForm(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), populateFormWithTemplate(), ILIAS\Repository\refinery(), and showTemplatesCommand().
Referenced by executeTableActionCommand(), and updateTemplateCommand().
|
private |
Definition at line 208 of file class.ilMailTemplateGUI.php.
References $form, ilPropertyFormGUI\getHTML(), and getTemplateForm().
Referenced by insertTemplateCommand().
|
private |
Definition at line 118 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), ilMailTemplateContextService\getTemplateContexts(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by confirmDeleteTemplate(), deleteTemplateCommand(), setAsContextDefault(), showEditTemplateForm(), unsetAsContextDefault(), and updateTemplateCommand().
ilMailTemplateGUI::unsetAsContextDefault | ( | ) |
Definition at line 591 of file class.ilMailTemplateGUI.php.
References ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showTemplatesCommand().
Referenced by executeTableActionCommand().
|
private |
Definition at line 217 of file class.ilMailTemplateGUI.php.
References $form, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), error(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilMailTemplateContextService\getTemplateContextById(), getTemplateForm(), ILIAS\FileDelivery\http(), isEditingAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilPropertyFormGUI\setValuesByPost(), showEditTemplateForm(), and showTemplatesCommand().
|
protected |
Definition at line 34 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 38 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 32 of file class.ilMailTemplateGUI.php.
Referenced by getTemplateForm(), insertTemplateCommand(), populateFormWithTemplate(), showEditTemplateForm(), showInsertTemplateFormCommand(), and updateTemplateCommand().
|
protected |
Definition at line 40 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 35 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 37 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 39 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 36 of file class.ilMailTemplateGUI.php.
|
protected |
Definition at line 33 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilMailTemplateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilMailTemplateGUI.php.
Referenced by __construct().