PHP Class Catalin_SEO_Model_Enterprise_Catalog_Layer_Filter_Category

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

Public Methods

Method Description
apply ( Zend_Controller_Request_Abstract $request, Mage_Core_Block_Abstract $filterBlock ) : Mage_Catalog_Model_Layer_Filter_Category Apply category filter to layer

Protected Methods

Method Description
_getChildrenCategories ( Mage_Catalog_Model_Category $category ) : Varien_Data_Collection_Db Retrieve a collection of child categories for the provided category
_getItemsData ( ) : array Get data array for building category filter items

Method Details

_getChildrenCategories() protected method

Retrieve a collection of child categories for the provided category
protected _getChildrenCategories ( Mage_Catalog_Model_Category $category ) : Varien_Data_Collection_Db
$category Mage_Catalog_Model_Category
return Varien_Data_Collection_Db

_getItemsData() protected method

Get data array for building category filter items
protected _getItemsData ( ) : array
return array

apply() public method

Apply category filter to layer
public apply ( Zend_Controller_Request_Abstract $request, Mage_Core_Block_Abstract $filterBlock ) : Mage_Catalog_Model_Layer_Filter_Category
$request Zend_Controller_Request_Abstract
$filterBlock Mage_Core_Block_Abstract
return Mage_Catalog_Model_Layer_Filter_Category