1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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\Util\Helper\getDomain
static getDomain()
Определения
helper.php:13
Bitrix\Calendar\Internals\Helper
Определения
analytics.php:3
bitrix
modules
calendar
lib
sync
util
helper.php
Создано системой
1.14.0