|
| | countUnreadMessages (?array $chatIds=null) |
| | getUnreadChats (?bool $isMuted=null) |
| | countUnreadChats () |
| | setUnreadDialog (int $id) |
| | setFromDialog (int $id, int $count) |
| | getMapChatToDialog (array $privateChatIds) |
| | getCacheForPreparedCounters () |
| | getCacheForChatsCounters () |
| | savePreparedCountersInCache (Cache $cache) |
| | saveChatsCountersInCache (Cache $cache) |
| | saveSpecificChatsCountersInCache (array $chatIds) |
| | setUnreadChat (int $id, bool $isMuted) |
| | setUnreadCollab (int $id, bool $isMuted) |
| | setUnreadCopilot (int $id, bool $isMuted) |
| | setFromMutedChat (int $id, int $count) |
| | setFromNotify (int $count) |
| | setFromLine (int $id, int $count) |
| | setFromCopilot (int $id, int $count) |
| | setFromCollab (int $id, int $count) |
| | setFromComment (int $id, ?int $parentId, int $count) |
| | setFromChat (int $id, int $count) |
| | getMapChatIdToParentId (array $counters) |
| | getCommentChatIdsOnly (array $counters) |
| | getCountersForEachChat (?array $chatIds=null, bool $forCurrentUser=true) |
| | getAdditionalCounters (?array $chatIds=null, bool $forCurrentUser=true) |
| | getTotalCountUnreadMessages () |
| | getCountUnreadMessagesByChatIdForEachUsers (int $chatId, ?array $userIds=null) |
| | getCountUnreadMessagesByChatId (int $chatId) |
| | haveInSpecificChatsCache (array $chatIds) |
См. определение в файле CounterServiceLegacy.php строка 10
◆ countUnreadChats()
◆ countUnreadMessages()
| countUnreadMessages |
( |
?array | $chatIds = null | ) |
|
|
protected |
◆ getMapChatToDialog()
| getMapChatToDialog |
( |
array | $privateChatIds | ) |
|
|
protected |
◆ getUnreadChats()
| getUnreadChats |
( |
?bool | $isMuted = null | ) |
|
|
protected |
◆ setFromDialog()
| setFromDialog |
( |
int | $id, |
|
|
int | $count ) |
|
protected |
◆ setUnreadDialog()
| setUnreadDialog |
( |
int | $id | ) |
|
|
protected |
◆ CACHE_PATH
| const CACHE_PATH = '/bx/im/counter/' |
|
protected |
◆ DEFAULT_COUNTERS
Инициализатор= [
'TYPE' => [
'ALL' => 0,
'NOTIFY' => 0,
'CHAT' => 0,
'LINES' => 0,
'DIALOG' => 0,
'MESSENGER' => 0,
],
'CHAT' => [],
'CHAT_MUTED' => [],
'CHAT_UNREAD' => [],
'LINES' => [],
'DIALOG' => [],
'DIALOG_UNREAD' => [],
]
См. определение в файле CounterServiceLegacy.php строка 14
Объявления и описания членов класса находятся в файле: