Метод extractSetupBlockValues
Сигнатура метода
private function extractSetupBlockValues(int $templateId, array $constantValues): array
Возвращает:
array
Описание
Narrows constant values to the template's setup-block constant codes, so fill() is never handed a non-setup code (e.g. a derived BotName) that it would reject. Setup-block codes are the ids of the 'constant' items in the template's setup blocks; after apply the copy carries the reference SetupTemplateActivity, so its own id resolves the blocks.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$constantValues
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Infrastructure/Controller/Integration/AiAgent/Template.php
Расположение метода в файле
Строки
486–516