Метод buildMapSettingsLenient
Сигнатура метода
public function buildMapSettingsLenient(string $code, array $documentType): array
Возвращает:
array
Описание
Builds a lenient settings map from the activity's declared properties map. Unlike the strict (REST) {@see describe()} path, this method never returns NOT_SUITABLE: - required properties that cannot be expressed go to $skipped rather than aborting; - an empty map, a disabled activity, or a REST code yields [empty collection, []].
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$code
|
string
|
—
|
—
|
$documentType
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/integration/aiassistant/activityaiautodescriber.php
Расположение метода в файле
Строки
62–89