1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
comments.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Integration\Im;
4
5use Bitrix\Im\Model\ChatTable;
6
8{
9 public static function getCounts(array $messageIds): array
10 {
11 if (!\Bitrix\Main\Loader::includeModule('im'))
12 {
13 return [];
14 }
15
16 $comments = ChatTable::query()
17 ->setSelect([
18 'MESSAGE_COUNT',
19 'MESSAGE_ID' => 'PARENT_MID',
20 ])
21 ->whereIn('MESSAGE_ID', $messageIds)
22 ->fetchAll()
23 ;
24
25 return array_column($comments, 'MESSAGE_COUNT', 'MESSAGE_ID');
26 }
27}
static getCounts(array $messageIds)
Определения comments.php:9
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804