Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
SonetType.php:9
Bitrix\Im\V2\Chat\EntityLink\SonetType\HAS_URL
const HAS_URL
Definition
SonetType.php:10
Bitrix\Im\V2\Chat\EntityLink\SonetType\getUrl
getUrl()
Definition
SonetType.php:12
Bitrix\Im\V2\Chat\EntityLink
Definition
EntityLink.php:18
Bitrix\Im\V2\Chat\EntityLink\$url
string $url
Definition
EntityLink.php:34
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Im\V2\Chat\EntityLink
Definition
CalendarType.php:3
modules
im
lib
V2
Chat
EntityLink
SonetType.php
Создано системой
1.10.0