kartik\tree\TreeViewInput::hasModel PHP Méthode

hasModel() protected méthode

protected hasModel ( ) : boolean
Résultat boolean whether this widget is associated with a data model.
    protected function hasModel()
    {
        return $this->model instanceof Model && $this->attribute !== null;
    }