Метод canTransfer
Сигнатура метода
private function canTransfer(int $templateId, array $documentType, int $userId): bool
Возвращает:
bool
Описание
Import / export gate: the legacy CreateWorkflow right, and only on a document type the template really belongs to. A request carrying another one reaches into a foreign entity.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$documentType
|
array
|
—
|
—
|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateService.php
Расположение метода в файле
Строки
97–106