Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Customer Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Customer:

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 Customer.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 Customer.php.

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


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