Class Mage_CatalogSearch_Model_Mysql4_Search_Collection

Description

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.

Located in /CatalogSearch/Model/Mysql4/Search/Collection.php (line 28)

Varien_Data_Collection_Db
   |
   --Mage_Eav_Model_Entity_Collection_Abstract
      |
      --Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract
         |
         --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
            |
            --Mage_CatalogSearch_Model_Mysql4_Search_Collection
Variable Summary
Method Summary
Varien_Data_Collection_Db _getAttributesCollection ()
void _getSearchEntityIdsSql ( $query)
string _getSearchInOptionSql (unknown_type $query)
void _hasAttributeOptionsAndSearchable ( $attribute)
void _isAttributeTextAndSearchable ( $attribute)
Variables
mixed $_attributesCollection (line 31)
  • access: protected
mixed $_searchQuery (line 32)
  • access: protected

Inherited Variables

Inherited from Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addFinalPrice
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addMinimalPrice
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addTaxPercents
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addUrlRewrite
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_allIdsCache
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_flatEnabled
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_isWebsiteFilter
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_map
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_priceDataFieldFilters
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productCategoryTable
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productCountSelect
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productLimitationFilters
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productWebsiteTable
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_urlRewriteCategory

Inherited from Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract

Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::$_storeId

Inherited from Mage_Eav_Model_Entity_Collection_Abstract

Mage_Eav_Model_Entity_Collection_Abstract::$_entity
Mage_Eav_Model_Entity_Collection_Abstract::$_filterAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_itemsById
Mage_Eav_Model_Entity_Collection_Abstract::$_joinAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_joinEntities
Mage_Eav_Model_Entity_Collection_Abstract::$_joinFields
Mage_Eav_Model_Entity_Collection_Abstract::$_selectAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_selectEntityTypes
Mage_Eav_Model_Entity_Collection_Abstract::$_staticFields
Methods
addSearchFilter (line 40)

Add search query filter

  • access: public
Mage_CatalogSearch_Model_Mysql4_Search_Collection addSearchFilter (string $query)
  • string $query
_getAttributesCollection (line 52)

Retrieve collection of all attributes

  • access: protected
Varien_Data_Collection_Db _getAttributesCollection ()
_getSearchEntityIdsSql (line 83)
  • access: protected
void _getSearchEntityIdsSql ( $query)
  • $query
_getSearchInOptionSql (line 137)

Retrieve SQL for search entities by option

  • access: protected
string _getSearchInOptionSql (unknown_type $query)
  • unknown_type $query
_hasAttributeOptionsAndSearchable (line 74)
  • access: protected
void _hasAttributeOptionsAndSearchable ( $attribute)
  • $attribute
_isAttributeTextAndSearchable (line 65)
  • access: protected
void _isAttributeTextAndSearchable ( $attribute)
  • $attribute

Inherited Methods

Inherited From Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToSort()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCategoryFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCategoryIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCountToCategories()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addFilterByRequiredOptions()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addFinalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addIdFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addOptionsToResult()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addPriceData()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addPriceDataFieldFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addStoreFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTaxPercents()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTierPriceData()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addWebsiteFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addWebsiteNamesToResult()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::applyFrontendPriceLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::clear()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllAttributeValues()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllIdsCache()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAttributeValueCount()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAttributeValueCountByRange()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getFlatHelper()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getMaxAttributeValue()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getNewEmptyItem()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getProductCountSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getProductTypeIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getSelectCountSql()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getSetIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::isEnabledFlat()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::joinMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::joinUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::requireTaxPercent()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setAllIdsCache()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setEntity()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setGeneralDefoultQuery()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setVisibility()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::unsProductCountSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addFinalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addTaxPercents()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_afterLoad()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_applyProductLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_applyZeroStoreProductLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_beforeLoad()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_construct()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_init()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_initSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_initTables()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_joinPriceRules()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_loadAttributes()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareProductLimitationFilters()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareStaticFields()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareUrlDataObject()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinWebsite()

Inherited From Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract

Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::getDefaultStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::getStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::setStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::setStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::_getLoadAttributesSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::_joinAttributeToSelect()

Inherited From Mage_Eav_Model_Entity_Collection_Abstract

Mage_Eav_Model_Entity_Collection_Abstract::__construct()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToFilter()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToSort()
Mage_Eav_Model_Entity_Collection_Abstract::addEntityTypeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addExpressionAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addFieldToFilter()
Mage_Eav_Model_Entity_Collection_Abstract::addItem()
Mage_Eav_Model_Entity_Collection_Abstract::addStaticField()
Mage_Eav_Model_Entity_Collection_Abstract::delete()
Mage_Eav_Model_Entity_Collection_Abstract::exportToArray()
Mage_Eav_Model_Entity_Collection_Abstract::getAllIds()
Mage_Eav_Model_Entity_Collection_Abstract::getAllIdsSql()
Mage_Eav_Model_Entity_Collection_Abstract::getAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::getEntity()
Mage_Eav_Model_Entity_Collection_Abstract::getLoadedIds()
Mage_Eav_Model_Entity_Collection_Abstract::getResource()
Mage_Eav_Model_Entity_Collection_Abstract::getRowIdFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::getTable()
Mage_Eav_Model_Entity_Collection_Abstract::groupByAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::importFromArray()
Mage_Eav_Model_Entity_Collection_Abstract::joinAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::joinField()
Mage_Eav_Model_Entity_Collection_Abstract::joinTable()
Mage_Eav_Model_Entity_Collection_Abstract::load()
Mage_Eav_Model_Entity_Collection_Abstract::removeAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::save()
Mage_Eav_Model_Entity_Collection_Abstract::setEntity()
Mage_Eav_Model_Entity_Collection_Abstract::setObject()
Mage_Eav_Model_Entity_Collection_Abstract::setOrder()
Mage_Eav_Model_Entity_Collection_Abstract::setPage()
Mage_Eav_Model_Entity_Collection_Abstract::setRowIdFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::toArray()
Mage_Eav_Model_Entity_Collection_Abstract::_addAttributeJoin()
Mage_Eav_Model_Entity_Collection_Abstract::_afterLoad()
Mage_Eav_Model_Entity_Collection_Abstract::_beforeLoad()
Mage_Eav_Model_Entity_Collection_Abstract::_construct()
Mage_Eav_Model_Entity_Collection_Abstract::_getAllIdsSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeConditionSql()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeTableAlias()
Mage_Eav_Model_Entity_Collection_Abstract::_getLoadAttributesSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_init()
Mage_Eav_Model_Entity_Collection_Abstract::_initSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_joinAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_loadAttributes()
Mage_Eav_Model_Entity_Collection_Abstract::_loadEntities()
Mage_Eav_Model_Entity_Collection_Abstract::_prepareStaticFields()
Mage_Eav_Model_Entity_Collection_Abstract::_reset()
Mage_Eav_Model_Entity_Collection_Abstract::_setItemAttributeValue()

Documentation generated on Fri, 11 Feb 2011 16:57:58 +0200 by phpDocumentor 1.4.3