Change control label element class
Notice: This thread is very old.
- LRJ
- Member | 6
Hi,
anyone has an idea how to add class to label element?
$control->getLabel() returns just a clone, doesn't make much sense to me.
public function getLabel($caption = NULL)
{
$label = clone $this->label;
$label->for = $this->getHtmlId();
$label->setText($this->translate($caption === NULL ? $this->caption : $caption));
return $label;
}
Thanx for any info :)