1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
chat.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\Integration\UI\EntitySelector\Helper
;
4
5
class
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
$type
Определения
options.php:106
Bitrix\Im\Integration\UI\EntitySelector\Helper\Chat
Определения
chat.php:6
Bitrix\Im\Integration\UI\EntitySelector\Helper\Chat\getSelectorEntityType
static getSelectorEntityType(array $chat)
Определения
chat.php:7
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Im\Integration\UI\EntitySelector\Helper
Определения
chat.php:3
bitrix
modules
im
lib
integration
ui
entityselector
helper
chat.php
Создано системой
1.14.0