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
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
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()
публичный Метод
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 |
|