Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Concat Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Concat:

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

00045     {
00046         $dataArr = array();
00047         foreach ($this->getColumn()->getIndex() as $index) {
00048             if ($data = $row->getData($index)) {
00049                 $dataArr[] = $data;
00050             }
00051         }
00052         $data = join($this->getColumn()->getSeparator(), $dataArr);
00053         // TODO run column type renderer
00054         return $data;
00055     }


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