Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
helper.php
1
<?php
2
3
namespace
Bitrix\Calendar\Sync\Util
;
4
5
use
Bitrix\Main\Application
;
6
7
class
Helper
8
{
13
public
static
function
getDomain
(): string
14
{
15
if
(\CCalendar::isBitrix24())
16
{
17
return
'https://bitrix24.com'
;
18
}
19
20
if
(defined(
'BX24_HOST_NAME'
) && BX24_HOST_NAME)
21
{
22
return
"https://"
. BX24_HOST_NAME;
23
}
24
25
$server =
Application::getInstance
()->getContext()->getServer();
26
27
return
"https://"
. $server[
'HTTP_HOST'
];
28
}
29
}
Bitrix\Calendar\Sync\Google\Helper
Definition
helper.php:13
Bitrix\Calendar\Sync\Util\Helper\getDomain
static getDomain()
Definition
helper.php:13
Bitrix\Main\Application
Definition
application.php:28
Bitrix\Main\Application\getInstance
static getInstance()
Definition
application.php:95
Bitrix\Calendar\Sync\Util
Definition
attendeesdescription.php:3
modules
calendar
lib
sync
util
helper.php
Создано системой
1.10.0