Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
filtercontrollerresolver.php
1
<?php
2
namespace
Bitrix\UI\EntitySelector
;
3
4
class
FilterControllerResolver
5
{
6
public
static
function
getModuleId
(
string
$filterId): string
7
{
8
$isThirdPartyModule = mb_strpos($filterId,
':'
) !==
false
;
9
if
($isThirdPartyModule)
10
{
11
$path = explode(
12
'.'
,
13
str_replace(
':'
,
'.'
, $filterId)
14
);
15
16
return
$path[0] .
'.'
. $path[1];
17
}
18
19
return
explode(
'.'
, $filterId)[0];
20
}
21
}
Bitrix\UI\EntitySelector\FilterControllerResolver
Definition
filtercontrollerresolver.php:5
Bitrix\UI\EntitySelector\FilterControllerResolver\getModuleId
static getModuleId(string $filterId)
Definition
filtercontrollerresolver.php:6
Bitrix\UI\EntitySelector
Definition
basefilter.php:2
modules
ui
lib
entityselector
filtercontrollerresolver.php
Создано системой
1.10.0