PHP Класс Catalin_SEO_Model_Catalog_Resource_Layer_Filter_Attribute
NOTICE OF LICENSE
This source file is subject to the MIT License (MIT)
that is bundled with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
https://opensource.org/licenses/MIT
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
applyFilterToCollection ( Mage_Catalog_Model_Layer_Filter_Attribute $filter, integer $value ) : Mage_Catalog_Model_Resource_Layer_Filter_Attribute |
Apply attribute filter to product collection |
|
getCount ( Mage_Catalog_Model_Layer_Filter_Attribute $filter ) : array |
Retrieve array with products counts per attribute option |
|
Описание методов
applyFilterToCollection()
публичный Метод
Apply attribute filter to product collection
public applyFilterToCollection ( Mage_Catalog_Model_Layer_Filter_Attribute $filter, integer $value ) : Mage_Catalog_Model_Resource_Layer_Filter_Attribute |
$filter |
Mage_Catalog_Model_Layer_Filter_Attribute |
|
$value |
integer |
|
Результат |
Mage_Catalog_Model_Resource_Layer_Filter_Attribute |
|
getCount()
публичный Метод
Retrieve array with products counts per attribute option
public getCount ( Mage_Catalog_Model_Layer_Filter_Attribute $filter ) : array |
$filter |
Mage_Catalog_Model_Layer_Filter_Attribute |
|
Результат |
array |
|