PHP 클래스 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
상속: extends Catalin_SEO_Model_Catalog_Layer
파일 보기 프로젝트 열기: caciobanu/improved-magento-layered-navigation

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
_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

메소드 상세

_prepareAttribute() 보호된 메소드

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
리턴 Mage_Eav_Model_Entity_Attribute

_prepareAttributeCollection() 보호된 메소드

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
리턴 Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection

getProductCollection() 공개 메소드

Get current layer product collection
public getProductCollection ( ) : Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection
리턴 Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection

getStateKey() 공개 메소드

Get layer state key
public getStateKey ( ) : string
리턴 string

getStateTags() 공개 메소드

Get default tags for current layer state
public getStateTags ( array $additionalTags = [] ) : array
$additionalTags array
리턴 array

prepareProductCollection() 공개 메소드

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
리턴 Mage_Catalog_Model_Layer