Mage_Adminhtml_Block_Newsletter_Template_Grid_Renderer_Sender Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Newsletter_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         if($row->getTemplateSenderName()) {
00041             $str .= htmlspecialchars($row->getTemplateSenderName()) . ' ';
00042         }        
00043         if($row->getTemplateSenderEmail()) {
00044             $str .= '[' . $row->getTemplateSenderEmail() . ']';
00045         }        
00046         if($str == '') {
00047             $str .= '---';
00048         }        
00049         return $str;
00050     }


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

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