Public Member Functions | |
__construct () | |
toOptionArray () | |
Protected Attributes | |
$_reviewStatusTable |
Definition at line 35 of file Collection.php.
__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 }
toOptionArray | ( | ) |
Reimplemented from Varien_Data_Collection.
Definition at line 49 of file Collection.php.
00050 { 00051 return parent::_toOptionArray('status_id', 'status_code'); 00052 }
$_reviewStatusTable [protected] |
Definition at line 37 of file Collection.php.