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