Метод isManagedTemplate
Сигнатура метода
public function isManagedTemplate(int $templateId): bool
Возвращает:
bool
Описание
Whether the template belongs to a managed instance, answered by the same single indexed read and the same memory of the request as every registration of a resource. A producer that has to behave differently inside a managed copy asks this instead of reading the registry tables on its own; a template that cannot be classified at all is never read as managed.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/ManagedAgentResourceRegistry.php
Расположение метода в файле
Строки
457–462