Метод isInnerActivityTrustworthy

public

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

public function isInnerActivityTrustworthy(string $innerType): bool

Возвращает: bool

Описание

Whether this environment can supply what a complex wrapper takes from the registry about the activity it runs inside itself. The shorthand '_inner_type' leaves the return properties of that activity to the registry (TemplateBuilder::buildInnerReturnProperties()), and they come out empty when the type does not resolve here, so the node is then as unfaithful as one built from default icons. A descriptor does not cover this: return properties are not part of the visual descriptor (TPL-03), so the only answer is a refusal. Asked on the shorthand path alone, because that is the only place the registry is read for an inner activity: 'Rules' written in the source carry the whole activity, return properties included, and an empty list of them there is the answer of the author and not of an incomplete environment.

Параметры

1
Имя Тип По умолчанию Флаги
$innerType string —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/StrictActivityResolver.php
Расположение метода в файле
Строки 46–49

Исходный код

PHP