Mage_Adminhtml_Block_System_Email_Template_Grid_Renderer_Type Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Email_Template_Grid_Renderer_Type:

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)

Static Protected Attributes

static $_types


Detailed Description

Definition at line 35 of file Type.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 41 of file Type.php.

00042     {
00043 
00044         $str = Mage::helper('adminhtml')->__('Unknown');
00045 
00046         if(isset(self::$_types[$row->getTemplateType()])) {
00047             $str = self::$_types[$row->getTemplateType()];
00048         }
00049 
00050         return Mage::helper('adminhtml')->__($str);
00051     }


Member Data Documentation

$_types [static, protected]

Initial value:

Definition at line 37 of file Type.php.


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