Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
abstractfield.php
1
<?php
8
namespace
Bitrix\Sender\Connector\Filter
;
9
10
use
Bitrix\Main\UI\Filter\Options
as FilterOptions;
11
16
abstract
class
AbstractField
17
{
19
protected
$data
;
20
27
public
static
function
create
(array
$data
)
28
{
29
return
new
static
(
$data
);
30
}
31
37
public
function
__construct
(array
$data
)
38
{
39
$this->data =
$data
;
40
}
41
47
public
function
getId
()
48
{
49
return
$this->data[
'id'
];
50
}
51
57
public
function
getFilterKey
()
58
{
59
return
$this->data[
'filter-key'
];
60
}
61
68
public
function
getValue
($defaultValue =
null
)
69
{
70
return
isset($this->data[
'value'
]) ? $this->data[
'value'
] : $defaultValue;
71
}
72
79
abstract
public
function
applyFilter
(array &$filter = array());
80
}
Bitrix\Main\UI\Filter\Options
Definition
options.php:18
Bitrix\Sender\Connector\Filter\AbstractField
Definition
abstractfield.php:17
Bitrix\Sender\Connector\Filter\AbstractField\getId
getId()
Definition
abstractfield.php:47
Bitrix\Sender\Connector\Filter\AbstractField\$data
$data
Definition
abstractfield.php:19
Bitrix\Sender\Connector\Filter\AbstractField\getValue
getValue($defaultValue=null)
Definition
abstractfield.php:68
Bitrix\Sender\Connector\Filter\AbstractField\getFilterKey
getFilterKey()
Definition
abstractfield.php:57
Bitrix\Sender\Connector\Filter\AbstractField\create
static create(array $data)
Definition
abstractfield.php:27
Bitrix\Sender\Connector\Filter\AbstractField\applyFilter
applyFilter(array &$filter=array())
Bitrix\Sender\Connector\Filter\AbstractField\__construct
__construct(array $data)
Definition
abstractfield.php:37
Bitrix\Sender\Connector\Filter
Definition
abstractfield.php:8
modules
sender
lib
connector
filter
abstractfield.php
Создано системой
1.10.0