Mage_Adminhtml_Block_System_Convert_Profile_Edit_Filter_Action Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Convert_Profile_Edit_Filter_Action:

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

 getHtml ()


Detailed Description

Definition at line 35 of file Action.php.


Member Function Documentation

getHtml (  ) 

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Abstract.

Definition at line 38 of file Action.php.

00039     {
00040         $values = array(
00041             ''       => '',
00042             'create' => Mage::helper('adminhtml')->__('Create'),
00043             'run'    => Mage::helper('adminhtml')->__('Run'),
00044             'update' => Mage::helper('adminhtml')->__('Update'),
00045         );
00046         $value = $this->getValue();
00047 
00048         $html  = '<select name="' . ($this->getColumn()->getName() ? $this->getColumn()->getName() : $this->getColumn()->getId()) . '" ' . $this->getColumn()->getValidateClass() . '>';
00049         foreach ($values as $k => $v) {
00050             $html .= '<option value="'.$k.'"' . ($value == $k ? ' selected="selected"' : '') . '>'.$v.'</option>';
00051         }
00052         $html .= '</select>';
00053         return $html;
00054     }


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

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