Public Member Functions | |
renderCss () | |
Protected Member Functions | |
_getValue (Varien_Object $row) | |
Protected Attributes | |
$_defaultWidth = 100 |
Definition at line 35 of file Number.php.
_getValue | ( | Varien_Object $ | row | ) | [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Reimplemented in Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Blanknumber.
Definition at line 39 of file Number.php.
00040 { 00041 $data = parent::_getValue($row); 00042 if (!is_null($data)) { 00043 $value = $data * 1; 00044 return $value ? $value: '0'; // fixed for showing zero in grid 00045 } 00046 return $this->getColumn()->getDefault(); 00047 }
renderCss | ( | ) |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 49 of file Number.php.
00050 { 00051 return parent::renderCss() . ' a-right'; 00052 }
$_defaultWidth = 100 [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 37 of file Number.php.