Documentation

TemplateTable

TemplateTable class for handling table with email campaign template.

Class methods

MethodDescription Available from version
getMap Returns list of fields for table with templates.
getTableName Returns name for table with email campaign templates.
isContentForBlockEditor Returns true, when template message in the parameter $content is supported by block editor.
onBeforeDelete Handler for the event onBeforeDelete.
initEditor Connecting event for email campaign template block editor.
onPresetTemplateList Handler for the event returning array of template search.

Fields for email campaign message templates

Field Description Type Required
ID Template ID.Int Да
ACTIVE Active status flag. Char(1) No
NAME Message template name.String Yes
CONTENT Message template text.String No


© «Bitrix24», 2001-2024
Up