yii\bootstrap\Tabs::hasActiveTab PHP Méthode

hasActiveTab() protected méthode

protected hasActiveTab ( ) : boolean
Résultat 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;
    }