Public Member Functions | |
__construct ($attributes=array()) | |
getElementHtml () |
Definition at line 34 of file Label.php.
__construct | ( | $ | attributes = array() |
) |
Enter description here...
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 }
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 }