/** * Runs the widget. */ public function run() { if ($this->useFormGroup == true) { echo CHtml::openTag('div', array('class' => 'form-group ' . $this->getContainerCssClass())); } parent::run(); if ($this->useFormGroup == true) { echo '</div>'; } }
/** * Runs the widget. */ public function run() { $rowHtmlOptions = array(); if ($this->htmlOptions['rowHtmlOptions']) { $rowHtmlOptions = $this->htmlOptions['rowHtmlOptions']; unset($this->htmlOptions['rowHtmlOptions']); } $rowHtmlOptions = array_merge(array('class' => 'control-group ' . $this->getContainerCssClass()), $rowHtmlOptions); echo CHtml::openTag('div', $rowHtmlOptions); parent::run(); echo '</div>'; }
/** * Runs the widget. */ public function run() { echo CHtml::openTag('div', array('class' => 'control-group ' . $this->getContainerCssClass())); parent::run(); echo '</div>'; }
/** * Runs the widget. */ public function run() { echo CHtml::openTag('div', array('class' => 'form-group ' . $this->getContainerCssClass())); parent::run(); echo CHtml::closeTag('div'); }