Mage_Adminhtml_Block_Review_Grid_Filter_Type Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Review_Grid_Filter_Type:

Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Abstract Mage_Adminhtml_Block_Abstract Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Interface Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getCondition ()

Protected Member Functions

 _getOptions ()


Detailed Description

Definition at line 35 of file Type.php.


Member Function Documentation

_getOptions (  )  [protected]

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select.

Definition at line 37 of file Type.php.

00038     {
00039         return array(
00040               array('label'=>'', 'value'=>''),
00041               array('label'=>Mage::helper('review')->__('Administrator'), 'value'=>1),
00042               array('label'=>Mage::helper('review')->__('Customer'), 'value'=>2),
00043               array('label'=>Mage::helper('review')->__('Guest'), 'value'=>3)
00044         );
00045     }

getCondition (  ) 

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select.

Definition at line 47 of file Type.php.

00048     {
00049         if ($this->getValue() == 1) {
00050             return 1;
00051         } elseif ($this->getValue() == 2) {
00052             return 2;
00053         } else {
00054             return 3;
00055         }
00056     }


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

Generated on Sat Jul 4 17:22:57 2009 for Magento by  doxygen 1.5.8