1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
chat.php
См. документацию.
1<?php
2
4
5class Chat
6{
7 public static function getSelectorEntityType(array $chat): string
8 {
9 $entityType = $chat['ENTITY_TYPE'];
10 if ($entityType !== '' && $entityType !== null)
11 {
12 return $entityType;
13 }
14
15 $type = $chat['TYPE'];
16 switch ($type)
17 {
18 case \Bitrix\Im\Chat::TYPE_GROUP:
19 return 'GROUP';
20
21 case \Bitrix\Im\Chat::TYPE_OPEN:
22 return 'CHANNEL';
23 }
24
25 return '';
26 }
27}
$type
Определения options.php:106
static getSelectorEntityType(array $chat)
Определения chat.php:7
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804