Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
productfilterfactory.php
1
<?php
2
3
namespace
Bitrix\Catalog\Filter\Factory
;
4
5
use
Bitrix\Catalog\Filter\DataProvider\ProductDataProvider
;
6
use
Bitrix\Catalog\Filter\DataProvider\Settings\ProductSettings
;
7
use
Bitrix\Catalog\Filter\ProductFilter
;
8
9
class
ProductFilterFactory
10
{
11
public
function
createBySettings
(
ProductSettings
$settings):
ProductFilter
12
{
13
return
new
ProductFilter
(
14
$settings->
getID
(),
15
new
ProductDataProvider
($settings)
16
);
17
}
18
}
Bitrix\Catalog\Filter\DataProvider\ProductDataProvider
Definition
productdataprovider.php:23
Bitrix\Catalog\Filter\DataProvider\Settings\ProductSettings
Definition
productsettings.php:11
Bitrix\Catalog\Filter\Factory\ProductFilterFactory
Definition
productfilterfactory.php:10
Bitrix\Catalog\Filter\Factory\ProductFilterFactory\createBySettings
createBySettings(ProductSettings $settings)
Definition
productfilterfactory.php:11
Bitrix\Catalog\Filter\ProductFilter
Definition
productfilter.php:8
Bitrix\Main\Filter\Settings\getID
getID()
Definition
settings.php:18
Bitrix\Catalog\Filter\Factory
Definition
documentfilterfactory.php:3
modules
catalog
lib
filter
factory
productfilterfactory.php
Создано системой
1.10.0