1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
common.php
См. документацию.
1
<?php
2
namespace
Bitrix\Im\Integration\Crm
;
3
4
use \Bitrix\Main\Loader;
5
6
class
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
$type
Определения
options.php:106
$defaultValue
if($_SERVER $defaultValue['REQUEST_METHOD']==="GET" &&!empty($RestoreDefaults) && $bizprocPerms==="W" &&check_bitrix_sessid())
Определения
options.php:32
Bitrix\Im\Integration\Crm\Common
Определения
common.php:7
Bitrix\Im\Integration\Crm\Common\getLink
static getLink($type, $id=null)
Определения
common.php:14
$result
$result
Определения
get_property_values.php:14
Bitrix\Im\Integration\Crm
Определения
common.php:2
bitrix
modules
im
lib
integration
crm
common.php
Создано системой
1.14.0