PHP Class Catalin_SEO_Model_Catalog_Resource_Layer_Filter_Price

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_Price
Show file Open project: caciobanu/improved-magento-layered-navigation

Public Methods

Method Description
applyPriceRange ( Mage_Catalog_Model_Layer_Filter_Price $filter ) : Mage_Catalog_Model_Resource_Layer_Filter_Price Apply price range filter to product collection

Protected Methods

Method Description
_getComparingValue ( float $price, Mage_Catalog_Model_Layer_Filter_Price $filter, boolean $decrease = true ) : float Get comparing value sql part

Method Details

_getComparingValue() protected method

Get comparing value sql part
protected _getComparingValue ( float $price, Mage_Catalog_Model_Layer_Filter_Price $filter, boolean $decrease = true ) : float
$price float
$filter Mage_Catalog_Model_Layer_Filter_Price
$decrease boolean
return float

applyPriceRange() public method

Apply price range filter to product collection
public applyPriceRange ( Mage_Catalog_Model_Layer_Filter_Price $filter ) : Mage_Catalog_Model_Resource_Layer_Filter_Price
$filter Mage_Catalog_Model_Layer_Filter_Price
return Mage_Catalog_Model_Resource_Layer_Filter_Price