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

hasActiveTab() защищенный Метод

protected hasActiveTab ( ) : boolean
Результат boolean if there's active tab defined
    protected function hasActiveTab()
    {
        foreach ($this->items as $item) {
            if (isset($item['active']) && $item['active'] === true) {
                return true;
            }
        }
        return false;
    }