Метод isAllowed
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
74–145
~/bitrix/modulesim/lib/Configuration/Notification.php
Исходный код
Сигнатура метода
public function isAllowed(int $userId, string $type): bool
Возвращает:
bool
Описание
Determines whether a notification can be sent to the user
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$type
|
string
|
-
|
-
|