Public Member Functions | |
setStoreId ($storeId) | |
getStoreId () | |
getWebsiteId () | |
Protected Member Functions | |
_construct () | |
Protected Attributes | |
$_storeId = 0 | |
$_websiteId = null |
Definition at line 33 of file Abstract.php.
_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 | ( | ) |
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 | ) |
$_storeId = 0 [protected] |
Definition at line 35 of file Abstract.php.
$_websiteId = null [protected] |
Definition at line 36 of file Abstract.php.