1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
SonetType.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Chat\EntityLink;
4
5
use Bitrix\Im\V2\Chat\EntityLink;
6
use Bitrix\Main\Loader;
7
8
class
SonetType
extends
EntityLink
9
{
10
protected
const
HAS_URL
=
true
;
11
12
protected
function
getUrl
(): string
13
{
14
if
(!Loader::includeModule(
'socialnetwork'
))
15
{
16
return
''
;
17
}
18
19
$url
= \COption::GetOptionString(
'socialnetwork'
,
'workgroups_page'
,
'/workgroups/'
,
SITE_ID
);
20
$url
.=
"group/{$this->entityId}/"
;
21
22
return
$url
;
23
}
24
}
Bitrix\Im\V2\Chat\EntityLink\SonetType
Определения
SonetType.php:9
Bitrix\Im\V2\Chat\EntityLink\SonetType\HAS_URL
const HAS_URL
Определения
SonetType.php:10
Bitrix\Im\V2\Chat\EntityLink\SonetType\getUrl
getUrl()
Определения
SonetType.php:12
Bitrix\Im\V2\Chat\EntityLink\$url
string $url
Определения
EntityLink.php:28
Bitrix\Im\V2\Chat\EntityLink
Определения
CalendarType.php:3
SITE_ID
const SITE_ID
Определения
sonet_set_content_view.php:12
bitrix
modules
im
lib
V2
Chat
EntityLink
SonetType.php
Создано системой
1.14.0