PHP Class Catalin_SEO_Model_Catalog_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_Layer_Filter_Price
Show file Open project: caciobanu/improved-magento-layered-navigation

Public Methods

Method Description
getMaxPriceFloat ( ) : float Get maximum price from layer products set
getMinPriceFloat ( ) : float Get minimum price from layer products set

Protected Methods

Method Description
_renderRangeLabel ( float | string $fromPrice, float | string $toPrice ) : string Prepare text of range label
collectPriceRange ( ) : Catalin_SEO_Model_Catalog_Layer_Filter_Price Collect useful information - max and min price

Method Details

_renderRangeLabel() protected method

Prepare text of range label
protected _renderRangeLabel ( float | string $fromPrice, float | string $toPrice ) : string
$fromPrice float | string
$toPrice float | string
return string

collectPriceRange() protected method

Collect useful information - max and min price
protected collectPriceRange ( ) : Catalin_SEO_Model_Catalog_Layer_Filter_Price
return Catalin_SEO_Model_Catalog_Layer_Filter_Price

getMaxPriceFloat() public method

Get maximum price from layer products set
public getMaxPriceFloat ( ) : float
return float

getMinPriceFloat() public method

Get minimum price from layer products set
public getMinPriceFloat ( ) : float
return float