Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_CatalogSearch_AdvancedController
  • Mage_CatalogSearch_AjaxController
  • Mage_CatalogSearch_Block_Advanced_Form
  • Mage_CatalogSearch_Block_Advanced_Result
  • Mage_CatalogSearch_Block_Autocomplete
  • Mage_CatalogSearch_Block_Layer
  • Mage_CatalogSearch_Block_Layer_Filter_Attribute
  • Mage_CatalogSearch_Block_Result
  • Mage_CatalogSearch_Block_Term
  • Mage_CatalogSearch_Helper_Data
  • Mage_CatalogSearch_Model_Advanced
  • Mage_CatalogSearch_Model_Fulltext
  • Mage_CatalogSearch_Model_Fulltext_Observer
  • Mage_CatalogSearch_Model_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Layer
  • Mage_CatalogSearch_Model_Layer_Filter_Attribute
  • Mage_CatalogSearch_Model_Mysql4_Advanced
  • Mage_CatalogSearch_Model_Mysql4_Advanced_Collection
  • Mage_CatalogSearch_Model_Mysql4_Fulltext
  • Mage_CatalogSearch_Model_Mysql4_Fulltext_Collection
  • Mage_CatalogSearch_Model_Mysql4_Fulltext_Engine
  • Mage_CatalogSearch_Model_Mysql4_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Mysql4_Query
  • Mage_CatalogSearch_Model_Mysql4_Query_Collection
  • Mage_CatalogSearch_Model_Mysql4_Search_Collection
  • Mage_CatalogSearch_Model_Query
  • Mage_CatalogSearch_Model_Resource_Advanced
  • Mage_CatalogSearch_Model_Resource_Advanced_Collection
  • Mage_CatalogSearch_Model_Resource_Fulltext
  • Mage_CatalogSearch_Model_Resource_Fulltext_Collection
  • Mage_CatalogSearch_Model_Resource_Fulltext_Engine
  • Mage_CatalogSearch_Model_Resource_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Resource_Query
  • Mage_CatalogSearch_Model_Resource_Query_Collection
  • Mage_CatalogSearch_Model_Resource_Search_Collection
  • Mage_CatalogSearch_Model_Session
  • Mage_Catalogsearch_Model_System_Config_Backend_Sitemap
  • Mage_CatalogSearch_ResultController
  • Mage_CatalogSearch_TermController
  • Overview
  • Package
  • Class
  • Tree

Class Mage_CatalogSearch_Model_Layer

Magento

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 If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Varien_Object
Extended by Mage_Catalog_Model_Layer
Extended by Mage_CatalogSearch_Model_Layer
Package: Mage\CatalogSearch
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/CatalogSearch/Model/Layer.php
Methods summary
public Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection
# getProductCollection( )

Get current layer product collection

Get current layer product collection

Returns

Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection

Overrides

Mage_Catalog_Model_Layer::getProductCollection()
public Mage_Catalog_Model_Layer
# prepareProductCollection( Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection $collection )

Prepare product collection

Prepare product collection

Parameters

$collection
Mage_Catalog_Model_Resource_Eav_Resource_Product_Collection
$collection

Returns

Mage_Catalog_Model_Layer

Overrides

Mage_Catalog_Model_Layer::prepareProductCollection()
public string
# getStateKey( )

Get layer state key

Get layer state key

Returns

string

Overrides

Mage_Catalog_Model_Layer::getStateKey()
public array
# getStateTags( array $additionalTags = array() )

Get default tags for current layer state

Get default tags for current layer state

Parameters

$additionalTags
array
$additionalTags

Returns

array

Overrides

Mage_Catalog_Model_Layer::getStateTags()
protected Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection
# _prepareAttributeCollection( Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection $collection )

Add filters to attribute collection

Add filters to attribute collection

Parameters

$collection
Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection
$collection

Returns

Mage_Catalog_Model_Resource_Eav_Resource_Product_Attribute_Collection

Overrides

Mage_Catalog_Model_Layer::_prepareAttributeCollection()
protected Mage_Eav_Model_Entity_Attribute
# _prepareAttribute( Mage_Eav_Model_Entity_Attribute $attribute )

Prepare attribute for use in layered navigation

Prepare attribute for use in layered navigation

Parameters

$attribute
Mage_Eav_Model_Entity_Attribute
$attribute

Returns

Mage_Eav_Model_Entity_Attribute

Overrides

Mage_Catalog_Model_Layer::_prepareAttribute()
Methods inherited from Mage_Catalog_Model_Layer
_getSetIds(), apply(), getAggregator(), getCurrentCategory(), getCurrentStore(), getFilterableAttributes(), getState(), setCurrentCategory()
Constants summary
string XML_PATH_DISPLAY_LAYER_COUNT 'catalog/search/use_layered_navigation_count'
#
Properties inherited from Mage_Catalog_Model_Layer
$_productCollections, $_stateKey
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0