1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
Url.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\UI\Helpdesk;
4
5
use Bitrix\Main\Web;
6
7
class
Url
8
{
9
private
Domain
$domain;
10
11
public
function
__construct
(
bool
$useLicenseRegion =
false
)
12
{
13
$this->domain =
new
Domain
($useLicenseRegion);
14
}
15
16
public
function
getByPath
(
string
$path
):
Web
\
Uri
17
{
18
return
(
new
Web
\
Uri
($this->domain->get()))->
setPath
(
$path
);
19
}
20
21
public
function
getDomain
():
Domain
22
{
23
return
$this->domain;
24
}
25
26
public
function
getByCodeArticle
(
string
$code
):
Web
\
Uri
27
{
28
return
$this->
getByPath
(
'/open/code_'
. $code .
'/'
);
29
}
30
}
$path
$path
Определения
access_edit.php:21
Bitrix\Main\Web\Uri
Определения
uri.php:17
Bitrix\Main\Web\Uri\setPath
setPath($path)
Определения
uri.php:179
Bitrix\UI\Helpdesk\Domain
Определения
Domain.php:8
Bitrix\UI\Helpdesk\Url
Определения
Url.php:8
Bitrix\UI\Helpdesk\Url\__construct
__construct(bool $useLicenseRegion=false)
Определения
Url.php:11
Bitrix\UI\Helpdesk\Url\getDomain
getDomain()
Определения
Url.php:21
Bitrix\UI\Helpdesk\Url\getByPath
getByPath(string $path)
Определения
Url.php:16
Bitrix\UI\Helpdesk\Url\getByCodeArticle
getByCodeArticle(string $code)
Определения
Url.php:26
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
Bitrix\Main\Web
Определения
cookie.php:3
bitrix
modules
ui
lib
Helpdesk
Url.php
Создано системой
1.14.0