Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Input Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Input:

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)

Protected Attributes

 $_values


Detailed Description

Definition at line 34 of file Input.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 Input.php.

00045     {
00046         $html = '<input type="text" ';
00047         $html.= 'name="'.($this->getColumn()->getName() ? $this->getColumn()->getName() : $this->getColumn()->getId()).'" ';
00048         $html.= 'value="'.$row->getData($this->getColumn()->getIndex()).'"';
00049         $html.= 'class="input-text '.$this->getColumn()->getInlineCss().'"/>'.$this->getColumn()->getName();
00050         return $html;
00051     }


Member Data Documentation

$_values [protected]

Definition at line 36 of file Input.php.


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

Generated on Sat Jul 4 17:23:09 2009 for Magento by  doxygen 1.5.8