Mage_Adminhtml_Block_Customer_Edit_Renderer_Newpass Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Customer_Edit_Renderer_Newpass:

Mage_Adminhtml_Block_Abstract Varien_Data_Form_Element_Renderer_Interface Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 render (Varien_Data_Form_Element_Abstract $element)


Detailed Description

Definition at line 34 of file Newpass.php.


Member Function Documentation

render ( Varien_Data_Form_Element_Abstract element  ) 

Implements Varien_Data_Form_Element_Renderer_Interface.

Definition at line 37 of file Newpass.php.

00038     {
00039         $html = '<tr>';
00040         $html.= '<td class="label">'.$element->getLabelHtml().'</td>';
00041         $html.= '<td class="value">'.$element->getElementHtml().'</td>';
00042         $html.= '</tr>'."\n";
00043         $html.= '<tr>';
00044         $html.= '<td class="label"><label>&nbsp;</label></td>';
00045         $html.= '<td class="value">'.Mage::helper('customer')->__('or').'</td>';
00046         $html.= '</tr>'."\n";
00047         $html.= '<tr>';
00048         $html.= '<td class="label"><label>&nbsp;</label></td>';
00049         $html.= '<td class="value"><input type="checkbox" id="account-send-pass" name="'.$element->getName().'" value="auto" onclick="setElementDisable(\''.$element->getHtmlId().'\', this.checked)"/>&nbsp;';
00050         $html.= '<label for="account-send-pass">'.Mage::helper('customer')->__('Send auto-generated password').'</label></td>';
00051         $html.= '</tr>'."\n";
00052 
00053         return $html;
00054     }


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

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