Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
entitysettings.php
1
<?php
2
namespace
Bitrix\Main\Filter
;
3
4
abstract
class
EntitySettings
extends
Settings
5
{
6
const
FLAG_NONE
= 0;
7
9
protected
$flags
= 0;
10
11
function
__construct
(array $params)
12
{
13
parent::__construct($params);
14
15
$this->flags = isset($params[
'flags'
])
16
? (int)$params[
'flags'
] :
self::FLAG_NONE
;
17
}
22
abstract
public
function
getEntityTypeName
();
23
28
abstract
public
function
getUserFieldEntityID
();
29
35
public
function
checkFlag
($flag)
36
{
37
return
($this->flags & $flag) === $flag;
38
}
39
}
Bitrix\Main\Filter\EntitySettings
Definition
entitysettings.php:5
Bitrix\Main\Filter\EntitySettings\FLAG_NONE
const FLAG_NONE
Definition
entitysettings.php:6
Bitrix\Main\Filter\EntitySettings\getUserFieldEntityID
getUserFieldEntityID()
Bitrix\Main\Filter\EntitySettings\__construct
__construct(array $params)
Definition
entitysettings.php:11
Bitrix\Main\Filter\EntitySettings\$flags
$flags
Definition
entitysettings.php:9
Bitrix\Main\Filter\EntitySettings\getEntityTypeName
getEntityTypeName()
Bitrix\Main\Filter\EntitySettings\checkFlag
checkFlag($flag)
Definition
entitysettings.php:35
Bitrix\Main\Filter\Settings
Definition
settings.php:6
Bitrix\Main\Filter
modules
main
lib
filter
entitysettings.php
Создано системой
1.10.0