Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
handler.php
1
<?php
9
namespace
Bitrix\Main\UI\Selector
;
10
11
class
Handler
12
{
13
public
const
14
ENTITY_TYPE_GROUP
=
'USERGROUPS'
;
15
16
public
static
function
getProviderByEntityType
($entityType)
17
{
18
switch
($entityType)
19
{
20
case
self::ENTITY_TYPE_GROUP
:
21
$provider =
new
UserGroups
();
22
break
;
23
default
:
24
$provider =
false
;
25
}
26
27
return
$provider;
28
}
29
}
Bitrix\Main\UI\Selector\Handler
Definition
handler.php:12
Bitrix\Main\UI\Selector\Handler\getProviderByEntityType
static getProviderByEntityType($entityType)
Definition
handler.php:16
Bitrix\Main\UI\Selector\Handler\ENTITY_TYPE_GROUP
const ENTITY_TYPE_GROUP
Definition
handler.php:14
Bitrix\Main\UI\Selector\UserGroups
Definition
usergroups.php:16
Bitrix\Main\UI\Selector
Definition
actions.php:3
modules
main
lib
ui
selector
handler.php
Создано системой
1.10.0