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
Afficher le fichier
Open project: caciobanu/improved-magento-layered-navigation
Méthodes publiques
Méthode |
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 méthode
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 |
|
Résultat |
Mage_Catalog_Model_Resource_Layer_Filter_Attribute |
|
getCount()
public méthode
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 |
|
Résultat |
array |
|