createInstance
\Bitrix\Main\Mail\EventMessageThemeCompiler public static \Bitrix\Main\Mail\EventMessageThemeCompiler::createInstance( string|null $siteTemplateId = null, string $body, boolean $isHtml = true );
Static method creates class instance.
Parameters
Parameter | Description | Version |
---|---|---|
$siteTemplateId | Site template ID. | |
$body | Body. | |
$isHtml | as HTML. True by default. |
Example
© «Bitrix24», 2001-2024