Метод findSourceTemplateId
Сигнатура метода
private function findSourceTemplateId(string $systemCode): ?int
Возвращает:
?int
Описание
Id of the only copyable system template that carries the code, or null when there is none or more than one. Letter case is left to the database here on purpose: a case insensitive collation returns every variant of the code, which is a duplicate and is rejected, while the exact match of the remaining single row is confirmed in PHP by the caller.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$systemCode
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentResolver.php
Расположение метода в файле
Строки
268–296