run() public method

Runs the widget.
public run ( )
Exemplo n.º 1
0
 /**
  * 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>';
     }
 }
Exemplo n.º 2
0
 /**
  * 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>';
 }
Exemplo n.º 3
0
 /**
  * Runs the widget.
  */
 public function run()
 {
     echo CHtml::openTag('div', array('class' => 'control-group ' . $this->getContainerCssClass()));
     parent::run();
     echo '</div>';
 }
Exemplo n.º 4
0
 /**
  * Runs the widget.
  */
 public function run()
 {
     echo CHtml::openTag('div', array('class' => 'form-group ' . $this->getContainerCssClass()));
     parent::run();
     echo CHtml::closeTag('div');
 }