Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
documentfilterfactory.php
1
<?php
2
3
namespace
Bitrix\Catalog\Filter\Factory
;
4
5
use
Bitrix\Catalog\Filter\DataProvider\DocumentDataProvider
;
6
use
Bitrix\Main\Filter\Filter
;
7
use
Bitrix\Main\Filter\Settings
;
8
9
class
DocumentFilterFactory
10
{
11
public
function
createBySettings
(
string
$mode,
Settings
$settings, array $extraDataProviders =
null
):
Filter
12
{
13
return
new
Filter
(
14
$settings->
getID
(),
15
new
DocumentDataProvider
($mode, $settings),
16
$extraDataProviders
17
);
18
}
19
}
Bitrix\Catalog\Filter\DataProvider\DocumentDataProvider
Definition
documentdataprovider.php:22
Bitrix\Catalog\Filter\Factory\DocumentFilterFactory
Definition
documentfilterfactory.php:10
Bitrix\Catalog\Filter\Factory\DocumentFilterFactory\createBySettings
createBySettings(string $mode, Settings $settings, array $extraDataProviders=null)
Definition
documentfilterfactory.php:11
Bitrix\Main\Filter\Filter
Definition
filter.php:5
Bitrix\Main\Filter\Settings
Definition
settings.php:6
Bitrix\Main\Filter\Settings\getID
getID()
Definition
settings.php:18
Bitrix\Catalog\Filter\Factory
Definition
documentfilterfactory.php:3
modules
catalog
lib
filter
factory
documentfilterfactory.php
Создано системой
1.10.0