Documentation

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

ParameterDescriptionVersion
$siteTemplateIdSite template ID.
$bodyBody.
$isHtmlas HTML. True by default.

Example



© «Bitrix24», 2001-2022
Up