1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
PropertyFilter.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Iblock\Integration\UI\Grid\Filter\Property
;
4
5
use
Bitrix\Iblock\Integration\UI\Grid\Property\PropertyGridProvider
;
6
use
Bitrix\Main\Filter\Filter
;
7
use
Bitrix\Main\UI\Filter\Theme
;
8
9
class
PropertyFilter
extends
Filter
10
{
19
public
static
function
create
(
int
$iblockId
,
PropertyGridProvider
$gridProvider): self
20
{
21
$id = $gridProvider->
getId
();
22
$provider
=
new
PropertyFilterProvider
(
$iblockId
, $gridProvider);
23
24
return
new
static
($id,
$provider
);
25
}
26
32
public
function
toArray
():
array
33
{
34
return
[
35
'FILTER_ID'
=> $this->getID(),
36
'FILTER'
=> $this->getFieldArrays(),
37
'FILTER_PRESETS'
=> [],
38
'ENABLE_LABEL'
=>
true
,
39
'THEME'
=>
Theme::LIGHT
,
40
'CONFIG'
=> [
41
'AUTOFOCUS'
=>
false
,
42
'popupWidth'
=> 800,
43
],
44
'USE_CHECKBOX_LIST_FOR_SETTINGS_POPUP'
=>
true
,
45
'ENABLE_FIELDS_SEARCH'
=>
'Y'
,
46
];
47
}
48
}
$provider
if(!Loader::includeModule('messageservice')) $provider
Определения
callback_ednaruimhpx.php:21
Bitrix\Iblock\Integration\UI\Grid\Filter\Property\PropertyFilter
Определения
PropertyFilter.php:10
Bitrix\Iblock\Integration\UI\Grid\Filter\Property\PropertyFilter\toArray
toArray()
Определения
PropertyFilter.php:32
Bitrix\Iblock\Integration\UI\Grid\Filter\Property\PropertyFilter\create
static create(int $iblockId, PropertyGridProvider $gridProvider)
Определения
PropertyFilter.php:19
Bitrix\Iblock\Integration\UI\Grid\Filter\Property\PropertyFilterProvider
Определения
PropertyFilterProvider.php:14
Bitrix\Iblock\Integration\UI\Grid\Property\PropertyGridProvider
Определения
PropertyGridProvider.php:16
Bitrix\Iblock\Integration\UI\Grid\Property\PropertyGridProvider\getId
getId()
Определения
PropertyGridProvider.php:33
Bitrix\Main\UI\Filter\Theme
Определения
theme.php:11
Bitrix\Main\UI\Filter\Theme\LIGHT
const LIGHT
Определения
theme.php:15
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$iblockId
$iblockId
Определения
iblock_catalog_edit.php:30
Bitrix\Iblock\Integration\UI\Grid\Filter\Property
Определения
PropertyFilter.php:3
Bitrix\Main\Filter
bitrix
modules
iblock
lib
Integration
UI
Grid
Filter
Property
PropertyFilter.php
Создано системой
1.14.0