Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Notify.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Controller
;
4
5
use
Bitrix\Im\V2\Chat\NotifyChat
;
6
7
class
Notify
extends
BaseController
8
{
12
public
function
deleteAllAction
(): ?array
13
{
14
$notifyChat = NotifyChat::getByUser();
15
16
if
($notifyChat !==
null
)
17
{
18
$notifyChat->dropAll();
19
}
20
21
return
[
'result'
=>
true
];
22
}
23
}
Bitrix\Im\Notify
Definition
notify.php:9
Bitrix\Im\V2\Chat\NotifyChat
Definition
NotifyChat.php:24
Bitrix\Im\V2\Controller\BaseController
Definition
BaseController.php:24
Bitrix\Im\V2\Controller\Notify\deleteAllAction
deleteAllAction()
Definition
Notify.php:12
Bitrix\Im\V2\Controller
Definition
BaseController.php:3
modules
im
lib
V2
Controller
Notify.php
Создано системой
1.10.0