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