1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Url.php
См. документацию.
1<?php
2
3namespace Bitrix\UI\Helpdesk;
4
5use Bitrix\Main\Web;
6
7class 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
Определения access_edit.php:21
Определения uri.php:17
setPath($path)
Определения uri.php:179
Определения Url.php:8
__construct(bool $useLicenseRegion=false)
Определения Url.php:11
getDomain()
Определения Url.php:21
getByPath(string $path)
Определения Url.php:16
getByCodeArticle(string $code)
Определения Url.php:26
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195
Определения cookie.php:3