Documentation

onPresetTemplateList

array public static
\Bitrix\Sender\TemplateTable::onPresetTemplateList(
 string|null $templateType = null,
 string|null $templateId = null
);

Handler for the event, returning array of template list. Static method.

Parameters

ParameterDescriptionVersion
$templateTypeTemplate type for email campaign message.
$templateIdMessage template ID.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024