Varien_Data_Form_Element_Label Class Reference

Inheritance diagram for Varien_Data_Form_Element_Label:

Varien_Data_Form_Element_Abstract Varien_Data_Form_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ($attributes=array())
 getElementHtml ()


Detailed Description

Definition at line 34 of file Label.php.


Constructor & Destructor Documentation

__construct ( attributes = array()  ) 

Enter description here...

Parameters:
array $attributes

Reimplemented from Varien_Data_Form_Element_Abstract.

Definition at line 36 of file Label.php.

00037     {
00038         parent::__construct($attributes);
00039         $this->setType('label');
00040     }


Member Function Documentation

getElementHtml (  ) 

Reimplemented from Varien_Data_Form_Element_Abstract.

Definition at line 42 of file Label.php.

00043     {
00044         $html = $this->getBold() ? '<strong>' : '';
00045         $html.= $this->getEscapedValue();
00046         $html.= $this->getBold() ? '</strong>' : '';
00047         $html.= $this->getAfterElementHtml();
00048         return $html;
00049     }


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