Class Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract

Description

Catalog Product Indexer Abstract Resource Model

Located in /Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Abstract.php (line 35)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_Index_Model_Mysql4_Abstract
         |
         --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract
Direct descendents
Class Description
Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Default CatalogInventory Default Stock Status Indexer Resource Model
Mage_CatalogInventory_Model_Mysql4_Indexer_Stock CatalogInventory Stock Status Indexer Resource Model
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav Catalog Product Eav Indexer Resource Model
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Abstract Catalog Product Eav Attributes abstract indexer resource model
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default Default Product Type Price Indexer Resource model
Mage_Tag_Model_Mysql4_Indexer_Summary Tag Indexer Model
Method Summary
array getRelationsByChild (int|array $childIds)
array getRelationsByParent ( $parentIds, int|array $childIds)
Zend_Db_Expr _addAttributeToSelect (Varien_Db_Select $select, string $attrCode, string|Zend_Db_Expr $entity, string|Zend_Db_Expr $store, [Zend_Db_Expr $condition = null], [bool $required = false])
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract _addProductWebsiteJoinToSelect (Varien_Db_Select $select, string|Zend_Db_Expr $website, string|Zend_Db_Expr $product)
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract _addWebsiteJoinToSelect (Varien_Db_Select $select, [bool $store = true], [string|Zend_Db_Expr $joinCondition = null])
Variables
Methods
getRelationsByChild (line 173)

Retrieve product relations by children

  • access: public
array getRelationsByChild (int|array $childIds)
  • int|array $childIds
getRelationsByParent (line 189)

Retrieve product relations by parents

  • access: public
array getRelationsByParent ( $parentIds, int|array $childIds)
  • int|array $childIds
  • $parentIds
_addAttributeToSelect (line 63)

Add attribute join condition to select and return Zend_Db_Expr attribute value definition

If $condition is not empty apply limitation for select

  • return: the attribute value expression
  • access: protected
Zend_Db_Expr _addAttributeToSelect (Varien_Db_Select $select, string $attrCode, string|Zend_Db_Expr $entity, string|Zend_Db_Expr $store, [Zend_Db_Expr $condition = null], [bool $required = false])
  • Varien_Db_Select $select
  • string $attrCode: the attribute code
  • string|Zend_Db_Expr $entity: the entity field or expression for condition
  • string|Zend_Db_Expr $store: the store field or expression for condition
  • Zend_Db_Expr $condition: the limitation condition
  • bool $required: if required or has condition used INNER join, else - LEFT
_addProductWebsiteJoinToSelect (line 156)

Add join for catalog/product_website table

Joined table has alias pw

  • access: protected
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract _addProductWebsiteJoinToSelect (Varien_Db_Select $select, string|Zend_Db_Expr $website, string|Zend_Db_Expr $product)
  • Varien_Db_Select $select: the select object
  • string|Zend_Db_Expr $website: the limitation of website_id
  • string|Zend_Db_Expr $product: the limitation of product_id
_addWebsiteJoinToSelect (line 120)

Add website data join to select

If add default store join also limitation of only has default store website

Joined table has aliases cw for website table, csg for store group table (joined by website default group) cs for store table (joined by website default store)

  • access: protected
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract _addWebsiteJoinToSelect (Varien_Db_Select $select, [bool $store = true], [string|Zend_Db_Expr $joinCondition = null])
  • Varien_Db_Select $select: the select object
  • bool $store: add default store join
  • string|Zend_Db_Expr $joinCondition: the limitation for website_id
_getAttribute (line 44)

Retrieve catalog_product attribute instance by attribute code

  • access: protected
Mage_Catalog_Model_Resource_Eav_Attribute _getAttribute (string $attributeCode)
  • string $attributeCode

Inherited Methods

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 16:55:13 +0200 by phpDocumentor 1.4.3