示例#1
0
 /**
  * Initializes the widget.
  */
 public function init()
 {
     parent::init();
     $this->initOptions();
     echo \CHtml::openTag('div', $this->options) . "\n";
     echo $this->renderBodyBegin() . "\n";
 }
示例#2
0
 /**
  * Initializes the widget.
  */
 public function init()
 {
     parent::init();
     $this->addCssClass($this->options, 'nav');
 }
示例#3
0
 /**
  * Initializes the widget.
  * If you override this method, make sure you call the parent implementation first.
  */
 public function init()
 {
     parent::init();
     $this->addCssClass($this->options, 'dropdown-menu');
 }
示例#4
0
 /**
  * Initializes the widget.
  */
 public function init()
 {
     parent::init();
     $this->clientOptions = false;
     $this->addCssClass($this->options, 'navbar');
     $this->addCssClass($this->brandOptions, 'brand');
 }
示例#5
0
 /**
  * Initializes the widget.
  * If you override this method, make sure you call the parent implementation first.
  */
 public function init()
 {
     parent::init();
     $this->clientOptions = false;
     $this->addCssClass($this->options, 'btn-group');
 }