Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Product Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Product:

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 35 of file Product.php.


Member Function Documentation

render ( Varien_Object row  ) 

Renders grid column

Parameters:
Varien_Object $row
Returns:
string

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.

Definition at line 44 of file Product.php.

00045     {
00046         $id   = $row->getId();
00047 
00048         return sprintf('<a href="%s">%s</a>',
00049             $this->getUrl('*/catalog_product_review/', array('productId' => $id)),
00050             Mage::helper('adminhtml')->__('Show reviews')
00051         );
00052     }


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