|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMailTemplateService. More...
Collaboration diagram for ilMailTemplateService:Public Member Functions | |
| __construct (\ilMailTemplateRepository $repository) | |
| ilMailTemplateService constructor. More... | |
| createNewTemplate (string $contextId, string $title, string $subject, string $message, string $language) | |
| modifyExistingTemplate (int $templateId, string $contextId, string $title, string $subject, string $message, string $language) | |
| loadTemplateForId (int $templateId) | |
| loadTemplatesForContextId (string $contextId) | |
| deleteTemplatesByIds (array $templateIds) | |
| listAllTemplatesAsArray () | |
| unsetAsContextDefault (\ilMailTemplate $template) | |
| setAsContextDefault (\ilMailTemplate $template) | |
Protected Attributes | |
| $repository | |
Class ilMailTemplateService.
Definition at line 9 of file class.ilMailTemplateService.php.
| ilMailTemplateService::__construct | ( | \ilMailTemplateRepository | $repository | ) |
ilMailTemplateService constructor.
| ilMailTemplateRepository | $repository |
Definition at line 18 of file class.ilMailTemplateService.php.
References $repository, and repository().
Here is the call graph for this function:| ilMailTemplateService::createNewTemplate | ( | string | $contextId, |
| string | $title, | ||
| string | $subject, | ||
| string | $message, | ||
| string | $language | ||
| ) |
| string | $contextId | |
| string | $title | |
| string | $subject | |
| string | $message | |
| string | $language |
Definition at line 31 of file class.ilMailTemplateService.php.
| ilMailTemplateService::deleteTemplatesByIds | ( | array | $templateIds | ) |
| array | $templateIds |
Definition at line 98 of file class.ilMailTemplateService.php.
References repository().
Here is the call graph for this function:| ilMailTemplateService::listAllTemplatesAsArray | ( | ) |
Definition at line 106 of file class.ilMailTemplateService.php.
References $template, and repository().
Here is the call graph for this function:| ilMailTemplateService::loadTemplateForId | ( | int | $templateId | ) |
| int | $templateId |
Definition at line 81 of file class.ilMailTemplateService.php.
References repository().
Here is the call graph for this function:| ilMailTemplateService::loadTemplatesForContextId | ( | string | $contextId | ) |
| string | $contextId |
Definition at line 90 of file class.ilMailTemplateService.php.
References repository().
Here is the call graph for this function:| ilMailTemplateService::modifyExistingTemplate | ( | int | $templateId, |
| string | $contextId, | ||
| string | $title, | ||
| string | $subject, | ||
| string | $message, | ||
| string | $language | ||
| ) |
| int | $templateId | |
| string | $contextId | |
| string | $title | |
| string | $subject | |
| string | $message | |
| string | $language |
Definition at line 58 of file class.ilMailTemplateService.php.
References $language, $message, $template, $title, and repository().
Here is the call graph for this function:| ilMailTemplateService::setAsContextDefault | ( | \ilMailTemplate | $template | ) |
| \ilMailTemplate | $template |
Definition at line 130 of file class.ilMailTemplateService.php.
References $template, ilMailTemplate\getContext(), and repository().
Here is the call graph for this function:| ilMailTemplateService::unsetAsContextDefault | ( | \ilMailTemplate | $template | ) |
| \ilMailTemplate | $template |
Definition at line 120 of file class.ilMailTemplateService.php.
References $template, and repository().
Here is the call graph for this function:
|
protected |
Definition at line 12 of file class.ilMailTemplateService.php.
Referenced by __construct().