Class Mage_CatalogIndex_Model_Mysql4_Data_Abstract

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 [email protected] 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 /CatalogIndex/Model/Mysql4/Data/Abstract.php (line 27)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_CatalogIndex_Model_Mysql4_Data_Abstract
Direct descendents
Class Description
Mage_Bundle_Model_Mysql4_Bundle Bundle Resource Model
Mage_CatalogIndex_Model_Mysql4_Data_Grouped CatalogIndex Grouped Products Data Retriever Resource Model
Mage_CatalogIndex_Model_Mysql4_Data_Configurable Magento
Variable Summary
Zend_Db_Select $_linkSelect
Method Summary
mixed fetchLinkInformation (int $store, string $table, string $idField, string $whereField, int $id, [array $additionalWheres = array()])
void getAttributeData (array $products, array $attributes, int $store)
mixed getMinimalPrice (array $products, array $priceAttributes, int $store)
mixed getTierPrices (array $products, int $website)
Mage_CatalogIndex_Model_Mysql4_Data_Abstract _addAttributeFilter ( $select, string $attributeCode, string $table, string $field, int $store, int|string|array $value)
void _construct ()
Zend_Db_Select _getLinkSelect ()
void _prepareLinkFetchSelect (int $store, string $table, string $idField, string $whereField, int $id, [array $additionalWheres = array()])
void _setLinkSelect (Zend_Db_Select $select)
Variables
Methods
fetchLinkInformation (line 121)

Returns an array of product children/parents

  • access: public
mixed fetchLinkInformation (int $store, string $table, string $idField, string $whereField, int $id, [array $additionalWheres = array()])
  • int $store
  • string $table
  • string $idField
  • string $whereField
  • int $id
  • array $additionalWheres
getAttributeData (line 76)

Retreive specified attribute data for specified products from specified store

  • access: public
void getAttributeData (array $products, array $attributes, int $store)
  • array $products
  • array $attributes
  • int $store
getMinimalPrice (line 174)

Return minimal prices for specified products

  • access: public
mixed getMinimalPrice (array $products, array $priceAttributes, int $store)
  • array $products
  • array $priceAttributes
  • int $store

Redefined in descendants as:
getTierPrices (line 195)

Return tier prices for specified product in specified website

  • access: public
mixed getTierPrices (array $products, int $website)
  • array $products
  • int $website
_addAttributeFilter (line 236)

Add attribute filter to select

  • access: protected
Mage_CatalogIndex_Model_Mysql4_Data_Abstract _addAttributeFilter ( $select, string $attributeCode, string $table, string $field, int $store, int|string|array $value)
  • Varien_Db_Select $select
  • string $attributeCode
  • string $table: the main table name or alias
  • string $field: entity_id field name
  • int $store
  • int|string|array $value: the filter value
_construct (line 64)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization
_getLinkSelect (line 59)

Get link select

  • access: protected
Zend_Db_Select _getLinkSelect ()
_prepareLinkFetchSelect (line 164)

Prepare select statement before 'fetchLinkInformation' function result fetch

  • access: protected
void _prepareLinkFetchSelect (int $store, string $table, string $idField, string $whereField, int $id, [array $additionalWheres = array()])
  • int $store
  • string $table
  • string $idField
  • string $whereField
  • int $id
  • array $additionalWheres

Redefined in descendants as:
_setLinkSelect (line 48)

Set link select

  • access: protected
void _setLinkSelect (Zend_Db_Select $select)
  • Zend_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:54:58 +0200 by phpDocumentor 1.4.3