Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Blanknumber Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Blanknumber:

Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Number 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 Blanknumber.php.


Member Function Documentation

_getValue ( Varien_Object row  )  [protected]

Todo:
may be bug in i.e. needs to be fixed

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Number.

Definition at line 37 of file Blanknumber.php.

00038     {
00039         $data = parent::_getValue($row);
00040         if (!is_null($data)) {
00041             $value = $data * 1;
00042             return $value ? $value: ''; // fixed for showing blank cell in grid
00043             /**
00044              * @todo may be bug in i.e. needs to be fixed
00045              */
00046         }
00047         return $this->getColumn()->getDefault();
00048     }


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

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