Public Member Functions | |
render (Varien_Object $row) |
Definition at line 35 of file Inventory.php.
render | ( | Varien_Object $ | row | ) |
Renders grid column value
Varien_Object | $row |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 43 of file Inventory.php.
00044 { 00045 $inStock = $this->_getValue($row); 00046 return $inStock ? 00047 Mage::helper('catalog')->__('In Stock') 00048 : Mage::helper('catalog')->__('Out of Stock'); 00049 }