Class Mail
Table of Contents
Constants
- LOCAL_DIR = '/modules/sender/preset/template_v2/'
Methods
- getTemplateHtml() : string|null
- Get template html.
- onPresetTemplateList() : array<string|int, mixed>
- Return base templates.
- replaceTemplateHtml() : mixed|null
- Get template html.
Constants
LOCAL_DIR
public
mixed
LOCAL_DIR
= '/modules/sender/preset/template_v2/'
Methods
getTemplateHtml()
Get template html.
public
static getTemplateHtml() : string|null
Return values
string|nullonPresetTemplateList()
Return base templates.
public
static onPresetTemplateList([string|null $templateType = null ][, string|null $templateId = null ][, string|null $messageCode = null ]) : array<string|int, mixed>
Parameters
- $templateType : string|null = null
-
Template type.
- $templateId : string|null = null
-
Template ID.
- $messageCode : string|null = null
-
Message code.
Return values
array<string|int, mixed>replaceTemplateHtml()
Get template html.
public
static replaceTemplateHtml(mixed $content[, array<string|int, mixed> $replace = [] ]) : mixed|null
Parameters
- $content : mixed
- $replace : array<string|int, mixed> = []
-
Replace data.