Метод canView
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
61–72
~/bitrix/modulestasks/lib/V2/Internal/Access/Service/TemplateRightService.php
Исходный код
Сигнатура метода
public function canView(int $userId, int $templateId): bool
Возвращает:
bool
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$templateId
|
int
|
-
|
-
|