Mage_Adminhtml_Block_Dashboard_Searches_Renderer_Searchquery Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Dashboard_Searches_Renderer_Searchquery:

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 34 of file Searchquery.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 36 of file Searchquery.php.

00037     {
00038         $value = $row->getData($this->getColumn()->getIndex());
00039         if (Mage::helper('core/string')->strlen($value) > 30) {
00040             $value = '<span title="'. $this->htmlEscape($value) .'">' . $this->htmlEscape(Mage::helper('core/string')->truncate($value, 30)) . '</span>';
00041         }
00042         else {
00043             $value = $this->htmlEscape($value);
00044         }
00045         return $value;
00046     }


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

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