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