Mage_Adminhtml_Block_Extensions_Remote_Grid_Renderer_Action Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Remote_Grid_Renderer_Action:

Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Text 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 Action.php.


Member Function Documentation

render ( Varien_Object row  ) 

Renders column

Parameters:
Varien_Object $row
Returns:
string

Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action.

Definition at line 38 of file Action.php.

00039     {
00040         $actions = array();
00041 
00042         $actions[] = array(
00043             'url'       =>  Mage::getModel('adminhtml/url')->setQueryParam('id', $row->getId())->getUrl('*/*/edit'),
00044             'caption'   =>  $this->__('View')
00045         );
00046 
00047         $this->getColumn()->setActions($actions);
00048 
00049         return parent::render($row);
00050     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:22:50 2009 for Magento by  doxygen 1.5.8