ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (protected ilMailTemplateRepository $repository, protected ilMustacheFactory $mustache_factory) | |
createNewTemplate (string $context_id, string $title, string $subject, string $message, string $language) | |
modifyExistingTemplate (int $template_id, string $context_id, string $title, string $subject, string $message, string $language) | |
loadTemplateForId (int $template_id) | |
loadTemplatesForContextId (string $context_id) | |
deleteTemplatesByIds (array $template_ids) | |
listAllTemplatesAsArray () | |
unsetAsContextDefault (ilMailTemplate $template) | |
setAsContextDefault (ilMailTemplate $template) | |
Definition at line 24 of file class.ilMailTemplateService.php.
ilMailTemplateService::__construct | ( | protected ilMailTemplateRepository | $repository, |
protected ilMustacheFactory | $mustache_factory | ||
) |
Definition at line 26 of file class.ilMailTemplateService.php.
ilMailTemplateService::createNewTemplate | ( | string | $context_id, |
string | $title, | ||
string | $subject, | ||
string | $message, | ||
string | $language | ||
) |
Implements ilMailTemplateServiceInterface.
Definition at line 32 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::deleteTemplatesByIds | ( | array | $template_ids | ) |
list<int> | $template_ids |
Implements ilMailTemplateServiceInterface.
Definition at line 104 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::listAllTemplatesAsArray | ( | ) |
Implements ilMailTemplateServiceInterface.
Definition at line 109 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository(), and ilMailTemplate\toArray().
ilMailTemplateService::loadTemplateForId | ( | int | $template_id | ) |
Implements ilMailTemplateServiceInterface.
Definition at line 94 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::loadTemplatesForContextId | ( | string | $context_id | ) |
Implements ilMailTemplateServiceInterface.
Definition at line 99 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::modifyExistingTemplate | ( | int | $template_id, |
string | $context_id, | ||
string | $title, | ||
string | $subject, | ||
string | $message, | ||
string | $language | ||
) |
TemplateSubjectSyntaxException|TemplateMessageSyntaxException |
Implements ilMailTemplateServiceInterface.
Definition at line 63 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::setAsContextDefault | ( | ilMailTemplate | $template | ) |
Implements ilMailTemplateServiceInterface.
Definition at line 123 of file class.ilMailTemplateService.php.
References ilMailTemplate\getContext(), ilMailTemplate\getTplId(), and ILIAS\UI\examples\Deck\repository().
ilMailTemplateService::unsetAsContextDefault | ( | ilMailTemplate | $template | ) |
Implements ilMailTemplateServiceInterface.
Definition at line 116 of file class.ilMailTemplateService.php.
References ILIAS\UI\examples\Deck\repository(), and ilMailTemplate\setAsDefault().