PHP Class 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
Inheritance: extends Mage_Catalog_Model_Resource_Layer_Filter_Attribute
Datei anzeigen Open project: caciobanu/improved-magento-layered-navigation

Public Methods

Method Description
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

Method Details

applyFilterToCollection() public method

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
return Mage_Catalog_Model_Resource_Layer_Filter_Attribute

getCount() public method

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
return array