Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Index_Adminhtml_ProcessController
  • Mage_Index_Block_Adminhtml_Notifications
  • Mage_Index_Block_Adminhtml_Process
  • Mage_Index_Block_Adminhtml_Process_Edit
  • Mage_Index_Block_Adminhtml_Process_Edit_Form
  • Mage_Index_Block_Adminhtml_Process_Edit_Tab_Main
  • Mage_Index_Block_Adminhtml_Process_Edit_Tabs
  • Mage_Index_Block_Adminhtml_Process_Grid
  • Mage_Index_Block_Adminhtml_Process_Grid_Massaction
  • Mage_Index_Helper_Data
  • Mage_Index_Model_Event
  • Mage_Index_Model_Indexer
  • Mage_Index_Model_Indexer_Abstract
  • Mage_Index_Model_Mysql4_Abstract
  • Mage_Index_Model_Mysql4_Event
  • Mage_Index_Model_Mysql4_Event_Collection
  • Mage_Index_Model_Mysql4_Process
  • Mage_Index_Model_Mysql4_Process_Collection
  • Mage_Index_Model_Mysql4_Setup
  • Mage_Index_Model_Observer
  • Mage_Index_Model_Process
  • Mage_Index_Model_Resource_Abstract
  • Mage_Index_Model_Resource_Event
  • Mage_Index_Model_Resource_Event_Collection
  • Mage_Index_Model_Resource_Helper_Mysql4
  • Mage_Index_Model_Resource_Process
  • Mage_Index_Model_Resource_Process_Collection
  • Mage_Index_Model_Resource_Setup
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Index_Model_Resource_Abstract

Abstract resource model. Can be used as base for indexer resources

Mage_Core_Model_Resource_Abstract
Extended by Mage_Core_Model_Resource_Db_Abstract
Extended by Mage_Index_Model_Resource_Abstract

Direct known subclasses

Mage_Catalog_Model_Resource_Category_Flat, Mage_Catalog_Model_Resource_Category_Indexer_Product, Mage_Catalog_Model_Resource_Product_Flat_Indexer, Mage_Catalog_Model_Resource_Product_Indexer_Abstract, Mage_Catalog_Model_Resource_Product_Indexer_Price, Mage_Index_Model_Mysql4_Abstract

Indirect known subclasses

Mage_Bundle_Model_Mysql4_Indexer_Price, Mage_Bundle_Model_Mysql4_Indexer_Stock, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Decimal, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Source, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Configurable, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Default, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price_Grouped, Mage_Catalog_Model_Resource_Product_Indexer_Eav, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Abstract, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Decimal, Mage_Catalog_Model_Resource_Product_Indexer_Eav_Source, Mage_Bundle_Model_Resource_Indexer_Price, Mage_Catalog_Model_Resource_Product_Indexer_Price_Configurable, Mage_Catalog_Model_Resource_Product_Indexer_Price_Default, Mage_Catalog_Model_Resource_Product_Indexer_Price_Grouped, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Configurable, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Default, Mage_CatalogInventory_Model_Mysql4_Indexer_Stock_Grouped, Mage_CatalogInventory_Model_Resource_Indexer_Stock, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Configurable, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Default, Mage_Bundle_Model_Resource_Indexer_Stock, Mage_CatalogInventory_Model_Resource_Indexer_Stock_Grouped, Mage_Downloadable_Model_Mysql4_Indexer_Price, Mage_Downloadable_Model_Resource_Indexer_Price, Mage_Tag_Model_Mysql4_Indexer_Summary, Mage_Tag_Model_Resource_Indexer_Summary, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Indexer_Product, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Flat_Indexer, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Abstract, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Abstract
Abstract
Package: Mage\Index
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/Index/Model/Resource/Abstract.php
Methods summary
public Mage_Index_Model_Resource_Abstract
# reindexAll( )

Reindex all

Reindex all

Returns

Mage_Index_Model_Resource_Abstract
protected Varien_Db_Adapter_Interface
# _getIndexAdapter( )

Get DB adapter for index data processing

Get DB adapter for index data processing

Returns

Varien_Db_Adapter_Interface
public string
# getIdxTable( string $table = null )

Get index table name with additional suffix

Get index table name with additional suffix

Parameters

$table
string
$table

Returns

string
public Mage_Index_Model_Resource_Abstract
# syncData( )

Synchronize data between index storage and original storage

Synchronize data between index storage and original storage

Returns

Mage_Index_Model_Resource_Abstract
public Mage_Index_Model_Resource_Abstract
# insertFromTable( string $sourceTable, string $destTable, boolean $readToIndex = true )

Copy data from source table of read adapter to destination table of index adapter

Copy data from source table of read adapter to destination table of index adapter

Parameters

$sourceTable
string
$sourceTable
$destTable
string
$destTable
$readToIndex
boolean
$readToIndex data migration direction (true - read=>index, false - index=>read)

Returns

Mage_Index_Model_Resource_Abstract
public Mage_Index_Model_Resource_Abstract
# insertFromSelect( Varien_Db_Select $select, string $destTable, array $columns, boolean $readToIndex = true )

Insert data from select statement of read adapter to destination table related with index adapter

Insert data from select statement of read adapter to destination table related with index adapter

Parameters

$select
Varien_Db_Select
$select
$destTable
string
$destTable
$columns
array
$columns
$readToIndex
boolean
$readToIndex data migration direction (true - read=>index, false - index=>read)

Returns

Mage_Index_Model_Resource_Abstract
public boolean
# useIdxTable( boolean $value = null )

Set or get what either "_idx" or "_tmp" suffixed temporary index table need to use

Set or get what either "_idx" or "_tmp" suffixed temporary index table need to use

Parameters

$value
boolean
$value

Returns

boolean
public boolean
# useDisableKeys( boolean $value = null )

Set or get flag that defines if need to disable keys during data inserting

Set or get flag that defines if need to disable keys during data inserting

Parameters

$value
boolean
$value

Returns

boolean
public
# clearTemporaryIndexTable( )

Clean up temporary index table

Clean up temporary index table

public Mage_Index_Model_Resource_Abstract
# disableTableKeys( )

Disable Main Table keys

Disable Main Table keys

Returns

Mage_Index_Model_Resource_Abstract
public Mage_Index_Model_Resource_Abstract
# enableTableKeys( )

Enable Main Table keys

Enable Main Table keys

Returns

Mage_Index_Model_Resource_Abstract
Methods inherited from Mage_Core_Model_Resource_Db_Abstract
_afterDelete(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeSave(), _checkUnique(), _getConnection(), _getLoadSelect(), _getReadAdapter(), _getWriteAdapter(), _init(), _initUniqueFields(), _prepareDataForSave(), _prepareValueForSave(), _serializeFields(), _setMainTable(), _setResource(), addUniqueField(), afterLoad(), delete(), getChecksum(), getIdFieldName(), getMainTable(), getReadConnection(), getTable(), getUniqueFields(), getValueTable(), hasDataChanged(), load(), resetUniqueField(), save(), unserializeFields()
Methods inherited from Mage_Core_Model_Resource_Abstract
__construct(), _construct(), _prepareDataForTable(), _prepareTableValueForSave(), _serializeField(), _unserializeField(), addCommitCallback(), beginTransaction(), commit(), formatDate(), mktime(), rollBack()
Constants summary
string IDX_SUFFIX '_idx'
#
string TMP_SUFFIX '_tmp'
#
Properties summary
protected boolean $_isNeedUseIdxTable false
#

Flag that defines if need to use "_idx" index table suffix instead of "_tmp"

Flag that defines if need to use "_idx" index table suffix instead of "_tmp"

protected boolean $_isDisableKeys true
#

Flag that defines if need to disable keys during data inserting

Flag that defines if need to disable keys during data inserting

Properties inherited from Mage_Core_Model_Resource_Db_Abstract
$_connections, $_fieldsForUpdate, $_idFieldName, $_isPkAutoIncrement, $_mainTable, $_mainTableFields, $_resourceModel, $_resourcePrefix, $_resources, $_serializableFields, $_tables, $_uniqueFields, $_useIsObjectNew
Properties inherited from Mage_Core_Model_Resource_Abstract
$_commitCallbacks
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0