Mage_Adminhtml_Model_Newsletter_Renderer_Text Class Reference

Inheritance diagram for Mage_Adminhtml_Model_Newsletter_Renderer_Text:

Varien_Data_Form_Element_Renderer_Interface

List of all members.

Public Member Functions

 render (Varien_Data_Form_Element_Abstract $element)


Detailed Description

Definition at line 34 of file Text.php.


Member Function Documentation

render ( Varien_Data_Form_Element_Abstract element  ) 

Implements Varien_Data_Form_Element_Renderer_Interface.

Definition at line 37 of file Text.php.

00038     {
00039         $html = '<tr><td class="label">'."\n";
00040         if ($element->getLabel()) {
00041             $html.= '<label for="'.$element->getHtmlId().'">'.$element->getLabel().'</label>'."\n";
00042         }
00043         $html.= '</td><td class="value">
00044 <iframe src="' . $element->getValue() . '" id="' . $element->getHtmlId() . '" frameborder="0" class="template-preview"> </iframe>';
00045         $html.= '</td><td></td></tr>'."\n";
00046 
00047         return $html;
00048     }


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

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