Mage_Review_Model_Mysql4_Review_Status_Collection Class Reference

Inheritance diagram for Mage_Review_Model_Mysql4_Review_Status_Collection:

Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 __construct ()
 toOptionArray ()

Protected Attributes

 $_reviewStatusTable


Detailed Description

Definition at line 35 of file Collection.php.


Constructor & Destructor Documentation

__construct (  ) 

Reimplemented from Varien_Data_Collection.

Definition at line 39 of file Collection.php.

00040     {
00041         parent::__construct(Mage::getSingleton('core/resource')->getConnection('review_read'));
00042         
00043         $this->_setIdFieldName('status_id');
00044         $this->_reviewStatusTable = Mage::getSingleton('core/resource')->getTableName('review/review_status');
00045 
00046         $this->_select->from($this->_reviewStatusTable);
00047     }


Member Function Documentation

toOptionArray (  ) 

Reimplemented from Varien_Data_Collection.

Definition at line 49 of file Collection.php.

00050     {
00051         return parent::_toOptionArray('status_id', 'status_code');
00052     }


Member Data Documentation

$_reviewStatusTable [protected]

Definition at line 37 of file Collection.php.


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