Метод canPersist
Сигнатура метода
public function canPersist(int $templateId, array $documentType, int $userId, bool $publish): bool
Возвращает:
bool
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$documentType
|
array
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$publish
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/WorkflowTemplate/TemplatePersistAccessService.php
Расположение метода в файле
Строки
23–42