Class Mage_Catalog_Model_Category_Indexer_Product
Category products indexer model. Responsibility for system actions: - Product save (changed assigned categories list) - Category save (changed assigned products list or category move) - Store save (new store creation, changed store group) - require reindex all data - Store group save (changed root category or group website) - require reindex all data
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Index_Model_Indexer_Abstract
- Mage_Catalog_Model_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/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/Category/Indexer/Product.php
protected
|
|
public
string
|
|
public
string
|
|
public
boolean
|
#
matchEvent(
Check if event can be matched by process. Overwrote for specific config save, store and store groups save matching |
protected
|
#
_registerEvent(
Register data required by process in event object Check if category ids was changed |
protected
|
#
_registerProductEvent(
Register event data during product save process |
protected
|
#
_registerCategoryEvent(
Register event data during category save process |
protected
|
callEventHandler(),
disableKeys(),
enableKeys(),
isVisible(),
matchEntityAndType(),
processEvent(),
register(),
reindexAll()
|
string |
EVENT_MATCH_RESULT_KEY
|
'catalog_category_product_match_result' |
#
Data key for matching result to be saved in |
protected
array
|
$_matchedEntities | array(
Mage_Catalog_Model_Product::ENTITY => array(
Mage_Index_Model_Event::TYPE_SAVE,
Mage_Index_Model_Event::TYPE_MASS_ACTION
),
Mage_Catalog_Model_Category::ENTITY => array(
Mage_Index_Model_Event::TYPE_SAVE
),
Mage_Core_Model_Store::ENTITY => array(
Mage_Index_Model_Event::TYPE_SAVE
),
Mage_Core_Model_Store_Group::ENTITY => array(
Mage_Index_Model_Event::TYPE_SAVE
),
Mage_Catalog_Model_Convert_Adapter_Product::ENTITY => array(
Mage_Index_Model_Event::TYPE_SAVE
)
) |
$_isVisible
|
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|