Метод needsReview

public static

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

public static function needsReview(array $values, array $requiredConstants, int $referenceTemplateId = 0, array $invalidConstants = []): self

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

Описание

The upgrade master is always shown for review before applying (ADR §10.3). Returned on the first call (no submitted values) and whenever a submit still leaves a required constant unset (server re-validation — the UI is not the source of truth). The needs-setup case (new required constants without a value) is the sub-case with a non-empty $requiredConstants.

Параметры

4
Имя Тип По умолчанию Флаги
$values array —
—
$requiredConstants array —
—
$referenceTemplateId int 0
—
$invalidConstants array []
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/AiAgentGrid/Upgrade/AgentUpgradeResult.php
Расположение метода в файле
Строки 60–75

Исходный код

PHP