コード例 #1
0
ファイル: Alert.php プロジェクト: abudayah/yiiwheels-custom
 /**
  * Initializes the widget.
  */
 public function init()
 {
     parent::init();
     $this->initOptions();
     echo \CHtml::openTag('div', $this->options) . "\n";
     echo $this->renderBodyBegin() . "\n";
 }
コード例 #2
0
ファイル: Nav.php プロジェクト: abudayah/yiiwheels-custom
 /**
  * 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
ファイル: NavBar.php プロジェクト: abudayah/yiiwheels-custom
 /**
  * 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');
 }