Mage_Review_Model_Mysql4_Review_Summary Class Reference

Inheritance diagram for Mage_Review_Model_Mysql4_Review_Summary:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract

List of all members.

Protected Member Functions

 _construct ()
 _getLoadSelect ($field, $value, $object)


Detailed Description

Definition at line 35 of file Summary.php.


Member Function Documentation

_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

Parameters:
string $field
mixed $value
Returns:
Zend_Db_Select

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     }


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

Generated on Sat Jul 4 17:24:38 2009 for Magento by  doxygen 1.5.8