yii\bootstrap\Tabs::init PHP Method

init() public method

Initializes the widget.
public init ( )
    public function init()
    {
        parent::init();
        Html::addCssClass($this->options, ['widget' => 'nav', $this->navType]);
    }

Usage Example

コード例 #1
0
ファイル: Tabs.php プロジェクト: hexl/yii2-metronic-1
 /**
  * Initializes the widget.
  */
 public function init()
 {
     if ($this->justified) {
         Html::addCssClass($this->options, 'nav-justified');
     }
     Html::addCssClass($this->options, 'nav ' . $this->navType);
     parent::init();
 }
All Usage Examples Of yii\bootstrap\Tabs::init