Class Mage_CatalogSearch_Model_Mysql4_Advanced

Description

Advanced Catalog Search resource model

Located in /CatalogSearch/Model/Mysql4/Advanced.php (line 35)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_CatalogSearch_Model_Mysql4_Advanced
Method Summary
Variables
Methods
addIndexableAttributeFilter (line 212)

Add filter by indexable attribute

  • deprecated: after 1.4.1.0 - use $this->addIndexableAttributeModifiedFilter()
  • access: public
bool addIndexableAttributeFilter (Mage_CatalogSearch_Model_Advanced $object, Mage_Catalog_Model_Resource_Eav_Attribute $attribute, string|array $value)
addIndexableAttributeModifiedFilter (line 225)
  • access: public
bool addIndexableAttributeModifiedFilter (Mage_CatalogSearch_Model_Mysql4_Advanced_Collection $collection, Mage_Catalog_Model_Resource_Eav_Attribute $attribute, string|array $value)
addPriceFilter (line 126)

Add filter by attribute price

  • deprecated: after 1.4.1.0 - use $this->addRatedPriceFilter()
  • access: public
bool addPriceFilter (Mage_CatalogSearch_Model_Advanced $object, Mage_Catalog_Model_Resource_Eav_Attribute $attribute, string|array $value)
addRatedPriceFilter (line 173)

Add filter by attribute rated price

  • access: public
bool addRatedPriceFilter (Mage_CatalogSearch_Model_Mysql4_Advanced_Collection $collection, Mage_Catalog_Model_Resource_Eav_Attribute $attribute, string|array $value, [int $rate = 1])
prepareCondition (line 90)

Prepare search condition for attribute

  • access: public
mixed prepareCondition (Mage_Catalog_Model_Resource_Eav_Attribute $attribute, string|array $value, Mage_CatalogSearch_Model_Mysql4_Advanced_Collection $collection)
_construct (line 41)

Initialize connection and define catalog product table as main table

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization
_dispatchPreparePriceEvent (line 54)

Prepare response object and dispatch prepare price event

Return response object

  • access: protected
Varien_Object _dispatchPreparePriceEvent (Varien_Db_Select $select)
  • Varien_Db_Select $select

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Abstract

Mage_Core_Model_Mysql4_Abstract::addUniqueField()
Mage_Core_Model_Mysql4_Abstract::afterLoad()
Mage_Core_Model_Mysql4_Abstract::delete()
Mage_Core_Model_Mysql4_Abstract::forsedSave()
Mage_Core_Model_Mysql4_Abstract::getChecksum()
Mage_Core_Model_Mysql4_Abstract::getIdFieldName()
Mage_Core_Model_Mysql4_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Abstract::getReadConnection()
Mage_Core_Model_Mysql4_Abstract::getTable()
Mage_Core_Model_Mysql4_Abstract::getUniqueFields()
Mage_Core_Model_Mysql4_Abstract::getValueTable()
Mage_Core_Model_Mysql4_Abstract::hasDataChanged()
Mage_Core_Model_Mysql4_Abstract::load()
Mage_Core_Model_Mysql4_Abstract::resetUniqueField()
Mage_Core_Model_Mysql4_Abstract::save()
Mage_Core_Model_Mysql4_Abstract::unserializeFields()
Mage_Core_Model_Mysql4_Abstract::_afterDelete()
Mage_Core_Model_Mysql4_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Abstract::_afterSave()
Mage_Core_Model_Mysql4_Abstract::_beforeDelete()
Mage_Core_Model_Mysql4_Abstract::_beforeSave()
Mage_Core_Model_Mysql4_Abstract::_checkUnique()
Mage_Core_Model_Mysql4_Abstract::_getConnection()
Mage_Core_Model_Mysql4_Abstract::_getLoadSelect()
Mage_Core_Model_Mysql4_Abstract::_getReadAdapter()
Mage_Core_Model_Mysql4_Abstract::_getWriteAdapter()
Mage_Core_Model_Mysql4_Abstract::_init()
Mage_Core_Model_Mysql4_Abstract::_initUniqueFields()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForSave()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForTable()
Mage_Core_Model_Mysql4_Abstract::_prepareValueForSave()
Mage_Core_Model_Mysql4_Abstract::_serializeFields()
Mage_Core_Model_Mysql4_Abstract::_setMainTable()
Mage_Core_Model_Mysql4_Abstract::_setResource()

Inherited From Mage_Core_Model_Resource_Abstract

Mage_Core_Model_Resource_Abstract::__construct()
Mage_Core_Model_Resource_Abstract::addCommitCallback()
Mage_Core_Model_Resource_Abstract::beginTransaction()
Mage_Core_Model_Resource_Abstract::commit()
Mage_Core_Model_Resource_Abstract::formatDate()
Mage_Core_Model_Resource_Abstract::mktime()
Mage_Core_Model_Resource_Abstract::rollBack()
Mage_Core_Model_Resource_Abstract::_construct()
Mage_Core_Model_Resource_Abstract::_getReadAdapter()
Mage_Core_Model_Resource_Abstract::_getWriteAdapter()
Mage_Core_Model_Resource_Abstract::_serializeField()
Mage_Core_Model_Resource_Abstract::_unserializeField()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:56:17 +0200 by phpDocumentor 1.4.3