function toHtml() { return '<div class="form-group"> <label class="col-sm-2 control-label"></label> <div class="col-sm-10"> ' . HTML_QuickForm_static::toHtml() . ' </div> </div>'; }
function toHtml() { return '<div class="control-group "> <label class="control-label"></label> <div class="controls"> '.HTML_QuickForm_static::toHtml().' </div> </div> '; } //end func toHtml
function toHtml() { $for = $this->getLabelFor(); return '<div class="control-group "> <label class="control-label"'.(empty($for)?'':' for="'.$for.'"').'>'.$this->getLabel().'</label> <div class="controls"> '.HTML_QuickForm_static::toHtml().' </div> </div> '; } //end func toHtml
function toHtml() { $id = $this->getAttribute('id'); $idCondition = null; if (!empty($id)) { $idCondition = 'id="' . $id . '"'; } return '<div class="form-group" ' . $idCondition . ' > <label class="col-sm-2 control-label">' . $this->getLabel() . '</label> <div class="col-sm-10"> ' . HTML_QuickForm_static::toHtml() . ' </div> </div>'; }
function toHtml() { return HTML_QuickForm_static::toHtml(); }
/** * @return string */ public function toHtml() { return parent::toHtml(); }