PHP Class Catalin_SEO_Model_Catalog_Layer_Filter_Category

NOTICE OF LICENSE This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php
Inheritance: extends Mage_Catalog_Model_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
_getItemsData ( ) : array Get data array for building category filter items
getChildrenCategories ( Mage_Catalog_Model_Category $category ) : Varien_Data_Collection_Db Retrieve a collection of child categories for the provided category

Method Details

_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

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