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
Exemple #3
0
    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
Exemple #4
0
 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>';
 }
Exemple #5
0
 function toHtml()
 {
     return HTML_QuickForm_static::toHtml();
 }
Exemple #6
0
 /**
  * @return string
  */
 public function toHtml()
 {
     return parent::toHtml();
 }