Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
usersettings.php
1
<?php
2
namespace
Bitrix\Main\Filter
;
3
class
UserSettings
extends
EntitySettings
4
{
5
private
$whiteList = [];
6
7
function
__construct
(array $params)
8
{
9
parent::__construct($params);
10
11
$this->whiteList = isset($params[
'WHITE_LIST'
]) && is_array($params[
'WHITE_LIST'
])
12
? $params[
'WHITE_LIST'
] : [];
13
}
14
15
public
function
getWhiteList
()
16
{
17
return
$this->whiteList;
18
}
19
24
public
function
getEntityTypeName
()
25
{
26
return
'USER'
;
27
}
28
33
public
function
getUserFieldEntityID
()
34
{
35
return \Bitrix\Main\UserTable::getUfId();
36
}
37
}
Bitrix\Main\Filter\EntitySettings
Definition
entitysettings.php:5
Bitrix\Main\Filter\UserSettings
Definition
usersettings.php:4
Bitrix\Main\Filter\UserSettings\getUserFieldEntityID
getUserFieldEntityID()
Definition
usersettings.php:33
Bitrix\Main\Filter\UserSettings\__construct
__construct(array $params)
Definition
usersettings.php:7
Bitrix\Main\Filter\UserSettings\getWhiteList
getWhiteList()
Definition
usersettings.php:15
Bitrix\Main\Filter\UserSettings\getEntityTypeName
getEntityTypeName()
Definition
usersettings.php:24
Bitrix\Main\Filter
modules
main
lib
filter
usersettings.php
Создано системой
1.10.0