Class Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default

Description

Implements interfaces:

Default Product Type Price Indexer Resource model

For correctly work need define product type id

Located in /Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price/Default.php (line 37)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_Index_Model_Mysql4_Abstract
         |
         --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract
            |
            --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default
Direct descendents
Class Description
Mage_Bundle_Model_Mysql4_Indexer_Price Bundle products Price indexer resource model
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Grouped Configurable Products Price Indexer Resource model
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Configurable Configurable Products Price Indexer Resource model
Mage_Downloadable_Model_Mysql4_Indexer_Price Downloadable products Price indexer resource model
Variable Summary
string $_typeId
Method Summary
Variables
Methods
getIdxTable (line 553)

Retrieve temporary index table name

  • access: public
string getIdxTable ([ $table = null])
  • $table

Redefinition of:
Mage_Index_Model_Mysql4_Abstract::getIdxTable()
Get index table name with additional suffix
getIsComposite (line 106)

Check product type is composite

  • access: public
bool getIsComposite ()
getTypeId (line 81)

Retrieve Product Type Code

  • access: public
string getTypeId ()
registerEvent (line 545)

Register data required by product type process in event object

  • access: public
void registerEvent ( $event)

Implementation of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Interface::registerEvent()
Register data required by product type process in event object
reindexAll (line 116)

Reindex temporary (price result data) for all products

  • access: public

Redefinition of:
Mage_Index_Model_Mysql4_Abstract::reindexAll()

Implementation of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Interface::reindexAll()
Reindex temporary (price result data) for all products

Redefined in descendants as:
reindexEntity (line 131)

Reindex temporary (price result data) for defined product(s)

  • access: public
  • int|array $entityIds

Implementation of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Interface::reindexEntity()
Reindex temporary (price result data) for defined product(s)

Redefined in descendants as:
setIsComposite (line 95)

Set Product Type Composite flag

  • access: public
  • bool $flag
setTypeId (line 70)

Set Product Type code

  • access: public
  • string $typeCode
_applyCustomOption (line 337)

Apply custom option minimal and maximal price to temporary final price index table

  • access: protected
_construct (line 59)

Define main price index table

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization
_getCustomOptionAggregateTable (line 289)

Retrieve table name for custom option temporary aggregation data

  • access: protected
string _getCustomOptionAggregateTable ()
_getCustomOptionPriceTable (line 302)

Retrieve table name for custom option prices data

  • access: protected
string _getCustomOptionPriceTable ()
_getDefaultFinalPriceTable (line 148)

Retrieve final price temporary index table name

string _getDefaultFinalPriceTable ()
_getTierPriceIndexTable (line 535)

Retrieve table name for product tier price index

  • access: protected
string _getTierPriceIndexTable ()
_getWebsiteDateTable (line 172)

Retrieve website current dates table name

  • access: protected
string _getWebsiteDateTable ()
_movePriceDataToIndexTable (line 498)

Mode Final Prices index to primary temporary index table

  • access: protected
_prepareCustomOptionAggregateTable (line 315)

Prepare table structure for custom option temporary aggregation data

  • access: protected
_prepareCustomOptionPriceTable (line 326)

Prepare table structure for custom option prices data

  • access: protected
_prepareDefaultFinalPriceTable (line 161)

Prepare final price temporary index table

  • access: protected
_prepareFinalPriceData (line 183)

Prepare products default final price in temporary index table

  • access: protected
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default _prepareFinalPriceData ([int|array $entityIds = null])
  • int|array $entityIds: the entity ids limitation

Inherited Methods

Inherited From Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::getRelationsByChild()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::getRelationsByParent()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::_addAttributeToSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::_addProductWebsiteJoinToSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::_addWebsiteJoinToSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract::_getAttribute()

Inherited From Mage_Index_Model_Mysql4_Abstract

Mage_Index_Model_Mysql4_Abstract::clearTemporaryIndexTable()
Mage_Index_Model_Mysql4_Abstract::cloneIndexTable()
Mage_Index_Model_Mysql4_Abstract::getIdxTable()
Mage_Index_Model_Mysql4_Abstract::insertFromSelect()
Mage_Index_Model_Mysql4_Abstract::insertFromTable()
Mage_Index_Model_Mysql4_Abstract::reindexAll()
Mage_Index_Model_Mysql4_Abstract::syncData()
Mage_Index_Model_Mysql4_Abstract::useDisableKeys()
Mage_Index_Model_Mysql4_Abstract::useIdxTable()
Mage_Index_Model_Mysql4_Abstract::_getIndexAdapter()

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 17:01:00 +0200 by phpDocumentor 1.4.3