Метод findEmptySettingsRefusal
Сигнатура метода
private function findEmptySettingsRefusal(PilotPublicationRequest $request, array $published, bool $hasCommonVersion): ?PilotPublicationResult
Возвращает:
?PilotPublicationResult
Описание
The gate of the filled settings. While the template has a common version an empty setting the scheme refers to is a refusal: the freeze leaves no way to fill it in once the pilot is running, and the required flag is no substitute for the check - it is off in almost every template of the delivery. Before the first common version there is nothing to refuse: the composition of the settings does not exist until this very publication. Staying silent is not an option either - a reference to an empty setting costs no error and no record in the log, the block runs idle and the process reports success. So the first cycle asks the publisher to confirm instead of refusing, by the same means a stop over a draft does.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
PilotPublicationRequest
|
—
|
—
|
$published
|
array
|
—
|
—
|
$hasCommonVersion
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotPublicationService.php