public function addLabel($caption, $style = "label-default", $leftSeparator = " ") { $label = new HtmlLabel("label-" . $this->identifier, $caption, $style); $label->wrap($leftSeparator); $this->addContent($label); return $this; }
public function addLabel($caption, $style = "label-default", $leftSeparator = " ") { $label = new HtmlLabel("label-" . $this->identifier, $caption, $style); $this->content .= $leftSeparator . $label->compile(); return $this; }