Метод canPublish

private

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

private function canPublish(array $template, int $userId): bool

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

Описание

The same gate an ordinary publication passes: the template ACL for the templates of the new editor and the legacy document-type right for every other one. No right of its own is introduced for the pilot.

Параметры

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

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

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

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

Исходный код

PHP