Mage_Catalog_Model_Index Class Reference

List of all members.

Public Member Functions

 rebuild ()


Detailed Description

Definition at line 35 of file Index.php.


Member Function Documentation

rebuild (  ) 

Rebuild indexes

Returns:
Mage_Catalog_Model_Index

Definition at line 42 of file Index.php.

00043     {
00044         Mage::getResourceSingleton('catalog/category')
00045             ->refreshProductIndex();
00046         foreach (Mage::app()->getStores() as $store) {
00047             Mage::getResourceSingleton('catalog/product')
00048                 ->refreshEnabledIndex($store);
00049         }
00050         return $this;
00051     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:39 2009 for Magento by  doxygen 1.5.8