File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/im/lib/integration/ui/entityselector/helper/chat.php
Back
<?php namespace Bitrix\Im\Integration\UI\EntitySelector\Helper; class Chat { public static function getSelectorEntityType(array $chat): string { $entityType = $chat['ENTITY_TYPE']; if ($entityType !== '' && $entityType !== null) { return $entityType; } $type = $chat['TYPE']; switch ($type) { case \Bitrix\Im\Chat::TYPE_GROUP: return 'GROUP'; case \Bitrix\Im\Chat::TYPE_OPEN: return 'CHANNEL'; } return ''; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings