Mage_Adminhtml_Block_Tax_Rate_Grid_Renderer_Data Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Tax_Rate_Grid_Renderer_Data:

Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract Mage_Adminhtml_Block_Abstract Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Interface Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _getValue (Varien_Object $row)


Detailed Description

Definition at line 35 of file Data.php.


Member Function Documentation

_getValue ( Varien_Object row  )  [protected]

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.

Definition at line 37 of file Data.php.

00038     {
00039         $data = parent::_getValue($row);
00040         if (intval($data) == $data) {
00041             return (string) number_format($data, 2);
00042         }
00043         if (!is_null($data)) {
00044             return $data * 1;
00045         }
00046         return $this->getColumn()->getDefault();
00047     }


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

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