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_Query

Catalog search query model

Varien_Object
Extended by Mage_Core_Model_Abstract
Extended by Mage_CatalogSearch_Model_Query
Package: Mage\CatalogSearch
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogSearch/Model/Query.php
Methods summary
protected
# _construct( )

Init resource model

Init resource model

public Mage_CatalogSearch_Model_Resource_Search_Collection
# getSearchCollection( )

Retrieve search collection

Retrieve search collection

Returns

Mage_CatalogSearch_Model_Resource_Search_Collection
public Mage_Eav_Model_Entity_Collection_Abstract
# getResultCollection( )

Retrieve collection of search results

Retrieve collection of search results

Returns

Mage_Eav_Model_Entity_Collection_Abstract
public Mage_CatalogSearch_Model_Resource_Query_Collection
# getSuggestCollection( )

Retrieve collection of suggest queries

Retrieve collection of suggest queries

Returns

Mage_CatalogSearch_Model_Resource_Query_Collection
public Mage_CatalogSearch_Model_Query
# loadByQuery( string $text )

Load Query object by query string

Load Query object by query string

Parameters

$text
string
$text

Returns

Mage_CatalogSearch_Model_Query
public Mage_CatalogSearch_Model_Query
# loadByQueryText( string $text )

Load Query object only by query text (skip 'synonym For')

Load Query object only by query text (skip 'synonym For')

Parameters

$text
string
$text

Returns

Mage_CatalogSearch_Model_Query
public Mage_CatalogSearch_Model_Query
# setStoreId( integer $storeId )

Set Store Id

Set Store Id

Parameters

$storeId
integer
$storeId

Returns

Mage_CatalogSearch_Model_Query
public integer
# getStoreId( )

Retrieve store Id

Retrieve store Id

Returns

integer
public Mage_CatalogSearch_Model_Query
# prepare( )

Prepare save query for result

Prepare save query for result

Returns

Mage_CatalogSearch_Model_Query
public integer
# getMinQueryLength( )

Retrieve minimum query length

Retrieve minimum query length

Returns

integer
public integer
# getMaxQueryLength( )

Retrieve maximum query length

Retrieve maximum query length

Returns

integer
public integer
# getMaxQueryWords( )

Retrieve maximum query words for like search

Retrieve maximum query words for like search

Returns

integer
Methods inherited from Mage_Core_Model_Abstract
_afterDelete(), _afterDeleteCommit(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeLoad(), _beforeSave(), _clearData(), _clearReferences(), _getEventData(), _getResource(), _hasModelChanged(), _init(), _protectFromNonAdmin(), _setResourceModel(), afterCommitCallback(), afterLoad(), cleanModelCache(), clearInstance(), delete(), getCacheIdTags(), getCacheTags(), getCollection(), getEntityId(), getId(), getIdFieldName(), getResource(), getResourceCollection(), getResourceName(), isObjectNew(), load(), save(), setId()
Constants summary
string CACHE_TAG 'SEARCH_QUERY'
#
string XML_PATH_MIN_QUERY_LENGTH 'catalog/search/min_query_length'
#
string XML_PATH_MAX_QUERY_LENGTH 'catalog/search/max_query_length'
#
string XML_PATH_MAX_QUERY_WORDS 'catalog/search/max_query_words'
#
Properties summary
protected string $_eventPrefix 'catalogsearch_query'
#

Event prefix

Event prefix

protected string $_eventObject 'catalogsearch_query'
#

Event object key name

Event object key name

Properties inherited from Mage_Core_Model_Abstract
$_cacheTag, $_dataSaveAllowed, $_isObjectNew, $_resource, $_resourceCollectionName, $_resourceName
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0