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

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

Renders the widget.
public run ( )
    public function run()
    {
        $this->registerPlugin('tab');
        return $this->renderItems();
    }

Usage Example

Пример #1
0
 public function run()
 {
     TabsAsset::register($this->getView());
     if (!$this->hasActiveTab() && !empty($this->items)) {
         reset($this->items);
         $this->items[key($this->items)]['active'] = true;
     }
     return parent::run();
 }
All Usage Examples Of yii\bootstrap\Tabs::run