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