Метод findWriteGateError

private

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

private function findWriteGateError(?array $template, int $userId, array $accessCodes): ?Error

Возвращает: ?Error

Описание

The gate every write over a pilot passes: the template exists, the actor may publish it and the feature is on. The refusal while the feature is off is what turns a confirmation from a tab opened before the switch-off into a refusal instead of a publication for everyone.

Параметры

3
Имя Тип По умолчанию Флаги
$template ?array —
—
$userId int —
—
$accessCodes array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotPublicationService.php
Расположение метода в файле
Строки 984–1002

Исходный код

PHP