1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
common.php
См. документацию.
1<?php
3
4use \Bitrix\Main\Loader;
5
6class Common
7{
14 public static function getLink($type, $id = null)
15 {
16 if (!Loader::includeModule('crm'))
17 {
18 return false;
19 }
20
21 $defaultValue = false;
22 if (is_null($id))
23 {
24 $defaultValue = true;
25 $id = 0;
26 }
27
28 $result = \CCrmOwnerType::GetEntityShowPath(\CCrmOwnerType::ResolveID($type), $id, false);
29
30 if ($defaultValue)
31 {
32 $result = str_replace($id, '#ID#', $result);
33 }
34
35 return $result;
36 }
37}
$type
Определения options.php:106
if($_SERVER $defaultValue['REQUEST_METHOD']==="GET" &&!empty($RestoreDefaults) && $bizprocPerms==="W" &&check_bitrix_sessid())
Определения options.php:32
static getLink($type, $id=null)
Определения common.php:14
$result
Определения get_property_values.php:14