Class Mage_Catalog_Model_Resource_Category_Indexer_Product
Resource model for category product indexer
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Index_Model_Resource_Abstract
- Mage_Catalog_Model_Resource_Category_Indexer_Product
Direct known subclasses
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Indexer_Product
Package: Mage\Catalog
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php
protected
|
|
public
|
#
catalogProductSave(
Process product save. Method is responsible for index support when product was saved and assigned categories was changed. |
public
|
|
protected
array
|
|
public
|
|
protected
|
|
protected
|
#
_refreshDirectRelations( null|array $categoryIds = null, null|array $productIds = null )
Rebuild index for direct associations categories and products |
protected
|
#
_refreshAnchorRelations( null $categoryIds = null, null $productIds = null )
Rebuild index for anchor categories and associated to child categories products |
protected
|
#
_refreshRootRelations( integer $productIds )
Add product association with root store category for products which are not assigned to any another category |
protected
array
|
|
protected
array
|
|
protected
array
|
|
public
|
|
protected
string
|
#
_prepareEnabledProductsVisibility( integer $websiteId, integer $storeId )
Create temporary table with enabled products visibility info |
protected
string
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
#
_getAnchorCategoriesProductsTemporaryTable( )
Retrieve temporary table of anchor categories products |
public
string
|
IDX_SUFFIX,
TMP_SUFFIX
|
protected
string
|
$_categoryTable |
|
#
Category table |
protected
string
|
$_categoryProductTable |
|
#
Category product table |
protected
string
|
$_productWebsiteTable |
|
#
Product website table |
protected
string
|
$_storeTable |
|
#
Store table |
protected
string
|
$_groupTable |
|
#
Group table |
protected
array
|
$_storesInfo |
|
#
Array of info about stores |
$_isDisableKeys,
$_isNeedUseIdxTable
|
$_commitCallbacks
|