Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
SonetType.php
1<?php
2
4
7
8class 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}