Mage_CatalogIndex_Model_Mysql4_Abstract Class Reference

Inheritance diagram for Mage_CatalogIndex_Model_Mysql4_Abstract:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract Mage_CatalogIndex_Model_Mysql4_Attribute Mage_CatalogIndex_Model_Mysql4_Price

List of all members.

Public Member Functions

 setStoreId ($storeId)
 getStoreId ()
 getWebsiteId ()

Protected Member Functions

 _construct ()

Protected Attributes

 $_storeId = 0
 $_websiteId = null


Detailed Description

Index resource model abstraction

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file Abstract.php.


Member Function Documentation

_construct (  )  [protected]

Resource initialization

Reimplemented from Mage_Core_Model_Resource_Abstract.

Reimplemented in Mage_CatalogIndex_Model_Mysql4_Attribute, and Mage_CatalogIndex_Model_Mysql4_Price.

Definition at line 38 of file Abstract.php.

00038                                     {
00039         return parent::_construct();
00040     }

getStoreId (  ) 

Definition at line 47 of file Abstract.php.

00048     {
00049         return $this->_storeId;
00050     }

getWebsiteId (  ) 

Definition at line 52 of file Abstract.php.

00053     {
00054         if (is_null($this->_websiteId)) {
00055             $result = Mage::app()->getStore($this->getStoreId())->getWebsiteId();
00056             $this->_websiteId = $result;
00057         }
00058         return $this->_websiteId;
00059     }

setStoreId ( storeId  ) 

Definition at line 42 of file Abstract.php.

00043     {
00044         $this->_storeId = $storeId;
00045     }


Member Data Documentation

$_storeId = 0 [protected]

Definition at line 35 of file Abstract.php.

$_websiteId = null [protected]

Definition at line 36 of file Abstract.php.


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

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