yii\bootstrap\Tabs::init PHP Метод

init() публичный Метод

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

Usage Example

Пример #1
0
 /**
  * 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