Mage_Adminhtml_Block_System_Email_Template_Grid_Renderer_Sender Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Email_Template_Grid_Renderer_Sender:

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 Sender.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 37 of file Sender.php.

00038     {
00039         $str = '';
00040         
00041         if($row->getTemplateSenderName()) {
00042             $str .= htmlspecialchars($row->getTemplateSenderName()) . ' ';
00043         }        
00044         
00045         if($row->getTemplateSenderEmail()) {
00046             $str .= '[' . $row->getTemplateSenderEmail() . ']';
00047         }        
00048         
00049         if($str == '') {
00050             $str .= '---';
00051         }
00052             
00053         return $str;
00054     }


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

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