Метод getActivityDescription
Сигнатура метода
public function getActivityDescription(string $code, array $documentType): Result|ActivityAiDescriptionResult
Возвращает:
Result|ActivityAiDescriptionResult
Описание
Returns the AI settings schema of the activity. A manual description (`.ai.php` next to the activity) always takes priority; when it is absent, the schema is derived from the activity's own properties map. Exceptions of a single activity are isolated into an error Result so that one broken activity cannot break a whole catalog.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$code
|
string
|
—
|
—
|
$documentType
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/service/aidescription.php
Расположение метода в файле
Строки
47–78