Protected Member Functions | |
_construct () | |
_getLoadSelect ($field, $value, $object) |
Definition at line 35 of file Summary.php.
_construct | ( | ) | [protected] |
Resource initialization
Reimplemented from Mage_Core_Model_Resource_Abstract.
Definition at line 37 of file Summary.php.
00038 { 00039 $this->_init('review/review_aggregate', 'entity_pk_value'); 00040 }
_getLoadSelect | ( | $ | field, | |
$ | value, | |||
$ | object | |||
) | [protected] |
Retrieve select object for load object data
string | $field | |
mixed | $value |
Reimplemented from Mage_Core_Model_Mysql4_Abstract.
Definition at line 42 of file Summary.php.
00043 { 00044 $select = parent::_getLoadSelect($field, $value, $object); 00045 $select->where('store_id = ?', (int)$object->getStoreId()); 00046 return $select; 00047 }