Varien_Data_Form_Element_Text Class Reference

Inheritance diagram for Varien_Data_Form_Element_Text:

Varien_Data_Form_Element_Abstract Varien_Data_Form_Abstract Varien_Object Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Price Varien_Data_Form_Element_Obscure

List of all members.

Public Member Functions

 __construct ($attributes=array())
 getHtml ()
 getHtmlAttributes ()


Detailed Description

Definition at line 34 of file Text.php.


Constructor & Destructor Documentation

__construct ( attributes = array()  ) 

Enter description here...

Parameters:
array $attributes

Reimplemented from Varien_Data_Form_Element_Abstract.

Reimplemented in Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Price.

Definition at line 36 of file Text.php.

00037     {
00038         parent::__construct($attributes);
00039         $this->setType('text');
00040         $this->setExtType('textfield');
00041     }


Member Function Documentation

getHtml (  ) 

Reimplemented from Varien_Data_Form_Element_Abstract.

Definition at line 43 of file Text.php.

00044     {
00045         $this->addClass('input-text');
00046         return parent::getHtml();
00047     }

getHtmlAttributes (  ) 

Reimplemented from Varien_Data_Form_Element_Abstract.

Definition at line 49 of file Text.php.

00050     {
00051         return array('type', 'title', 'class', 'style', 'onclick', 'onchange', 'disabled', 'readonly', 'maxlength');
00052     }


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

Generated on Sat Jul 4 17:25:00 2009 for Magento by  doxygen 1.5.8