yii\bootstrap\Tabs::run PHP Method

run() public method

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

Usage Example

コード例 #1
0
ファイル: Tabs.php プロジェクト: webtoolsnz/yii2-widgets
 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