Метод getAjaxResponse

public static

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

public static function getAjaxResponse(array $request): stdClass

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

Описание

Resends the funnels of the process the dialog has just picked. The core action behind it checks the authoring right against the document type of the request body, which carries the service type of the workflow, while the process itself arrives as a parameter of its own: without the checks here any process of the portal would be enumerated by substituting the parameter. The answer is an object rather than a list: an empty PHP array reaches the client as [], which its Type.isPlainObject guard rejects, and "the process has no funnels" is an answer, not a refusal.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/install/activities/bitrix/crmsmartmanualstarttrigger/crmsmartmanualstarttrigger.php
Расположение метода в файле
Строки 296–299

Исходный код

PHP