Метод can
Сигнатура метода
public function can(int $userId, int $activityId, Operation $operation): bool
Возвращает:
bool
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$activityId
|
int
|
—
|
—
|
$operation
|
Operation
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Access/Activity/ActivityAccess.php
Расположение метода в файле
Строки
154–157