1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Notifier.php
См. документацию.
1<?php
2
3namespace Bitrix\UI\NotificationManager;
4
5use Bitrix\Main\Loader;
6use Bitrix\Pull\Event;
7
9{
19 public static function notify(int $userId, Notification $notification): bool
20 {
21 if (!Loader::includeModule('pull'))
22 {
23 return false;
24 }
25
26 return Event::add($userId, [
27 'module_id' => 'ui',
28 'command' => 'notify',
29 'params' => [
30 'notification' => $notification,
31 ],
32 ]);
33 }
34}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
static notify(int $userId, Notification $notification)
Определения Notifier.php:19