PHP Class Catalin_SEO_Model_CatalogSearch_Layer

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 Catalin_SEO_Model_Catalog_Layer
Afficher le fichier Open project: caciobanu/improved-magento-layered-navigation

Méthodes publiques

Méthode Description
getProductCollection ( ) : Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection Get current layer product collection
getStateKey ( ) : string Get layer state key
getStateTags ( array $additionalTags = [] ) : array Get default tags for current layer state
prepareProductCollection ( Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection $collection ) : Mage_Catalog_Model_Layer Prepare product collection

Méthodes protégées

Méthode Description
_prepareAttribute ( Mage_Eav_Model_Entity_Attribute $attribute ) : Mage_Eav_Model_Entity_Attribute Prepare attribute for use in layered navigation
_prepareAttributeCollection ( Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection $collection ) : Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection Add filters to attribute collection

Method Details

_prepareAttribute() protected méthode

Prepare attribute for use in layered navigation
protected _prepareAttribute ( Mage_Eav_Model_Entity_Attribute $attribute ) : Mage_Eav_Model_Entity_Attribute
$attribute Mage_Eav_Model_Entity_Attribute
Résultat Mage_Eav_Model_Entity_Attribute

_prepareAttributeCollection() protected méthode

Add filters to attribute collection
protected _prepareAttributeCollection ( Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection $collection ) : Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection
$collection Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection
Résultat Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection

getProductCollection() public méthode

Get current layer product collection
public getProductCollection ( ) : Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection
Résultat Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection

getStateKey() public méthode

Get layer state key
public getStateKey ( ) : string
Résultat string

getStateTags() public méthode

Get default tags for current layer state
public getStateTags ( array $additionalTags = [] ) : array
$additionalTags array
Résultat array

prepareProductCollection() public méthode

Prepare product collection
public prepareProductCollection ( Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection $collection ) : Mage_Catalog_Model_Layer
$collection Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection
Résultat Mage_Catalog_Model_Layer