Метод buildTemplateFromSource

public

Сигнатура метода

public function buildTemplateFromSource(string $sectionId, string $systemCode, string $langId = LANGUAGE_ID): ?array

Возвращает: ?array

Описание

Builds the installed template array for a single system node straight from its source files (template.json + lang + prompt), exactly as {@see syncSection()} would install it, but WITHOUT touching the database. Useful to obtain the "to-be-installed" template before/without a DB sync.

Параметры

3
Имя Тип По умолчанию Флаги
$sectionId string —
—
$systemCode string —
—
$langId string LANGUAGE_ID
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Service/Template/NodesInstallerService.php
Расположение метода в файле
Строки 156–224

Исходный код

PHP