Mage_Adminhtml_Block_Report_Product_Downloads_Renderer_Purchases Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Report_Product_Downloads_Renderer_Purchases:

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.

Public Member Functions

 render (Varien_Object $row)


Detailed Description

Definition at line 34 of file Purchases.php.


Member Function Documentation

render ( Varien_Object row  ) 

Renders Purchases value

Parameters:
Varien_Object $row
Returns:
string

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.

Definition at line 43 of file Purchases.php.

00044     {
00045         if ( ($value = $row->getData($this->getColumn()->getIndex())) > 0) {
00046             return $value;
00047         }
00048         return $this->__('Unlimited');
00049     }


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