Public Member Functions | |
render (Varien_Object $row) |
Definition at line 35 of file Action.php.
render | ( | Varien_Object $ | row | ) |
Renders grid column
Varien_Object | $row |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 38 of file Action.php.
00039 { 00040 $values = array( 00041 'create' => Mage::helper('adminhtml')->__('Create'), 00042 'run' => Mage::helper('adminhtml')->__('Run'), 00043 'update' => Mage::helper('adminhtml')->__('Update'), 00044 ); 00045 $value = $row->getData($this->getColumn()->getIndex()); 00046 return $values[$value]; 00047 }