1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс TemplateBase

Открытые статические члены

static onPresetTemplateList ($templateType=null, $templateId=null)
static onPresetTemplateListSite ($templateType=null, $templateId=null)
static getListName ()
static getById ($templateName)
static update ($templateName, $html)

Поля данных

const LOCAL_DIR_TMPL = '/modules/sender/preset/template/'
const LOCAL_DIR_IMG = '/images/sender/preset/template/'

Защищенные статические члены

static replaceTemplateByDefaultData ($template)

Подробное описание

См. определение в файле templatebase.php строка 26

Методы

◆ getById()

getById ( $templateName)
static
Аргументы
string$templateName
Возвращает
array|null

См. определение в файле templatebase.php строка 160

◆ getListName()

getListName ( )
static
Возвращает
array

См. определение в файле templatebase.php строка 136

◆ onPresetTemplateList()

onPresetTemplateList ( $templateType = null,
$templateId = null )
static

Return base templates.

Аргументы
string | null$templateTypeTemplate type.
string | null$templateIdTemplate ID.
Возвращает
array

См. определение в файле templatebase.php строка 38

◆ onPresetTemplateListSite()

onPresetTemplateListSite ( $templateType = null,
$templateId = null )
static

Return site templates.

Аргументы
string | null$templateTypeTemplate type.
string | null$templateIdTemplate ID.
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

См. определение в файле templatebase.php строка 74

◆ replaceTemplateByDefaultData()

replaceTemplateByDefaultData ( $template)
staticprotected
Аргументы
string$template
Возвращает
string

См. определение в файле templatebase.php строка 209

◆ update()

update ( $templateName,
$html )
static
Аргументы
$templateName
$html
Возвращает
bool|int

См. определение в файле templatebase.php строка 264

Поля

◆ LOCAL_DIR_IMG

const LOCAL_DIR_IMG = '/images/sender/preset/template/'

См. определение в файле templatebase.php строка 29

◆ LOCAL_DIR_TMPL

const LOCAL_DIR_TMPL = '/modules/sender/preset/template/'

См. определение в файле templatebase.php строка 28


Объявления и описания членов класса находятся в файле: