Mage_Adminhtml_Block_System_Email_Template_Grid_Filter_Type Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Email_Template_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 ()

Static Protected Attributes

static $_types


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 43 of file Type.php.

00044     {
00045         $result = array();
00046         foreach (self::$_types as $code=>$label) {
00047             $result[] = array('value'=>$code, 'label'=>Mage::helper('adminhtml')->__($label));
00048         }
00049 
00050         return $result;
00051     }

getCondition (  ) 

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select.

Definition at line 54 of file Type.php.

00055     {
00056         if(is_null($this->getValue())) {
00057             return null;
00058         }
00059 
00060         return array('eq'=>$this->getValue());
00061     }


Member Data Documentation

$_types [static, protected]

Initial value:

Definition at line 37 of file Type.php.


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

Generated on Sat Jul 4 17:23:04 2009 for Magento by  doxygen 1.5.8