kartik\tree\TreeViewInput::hasModel PHP 메소드

hasModel() 보호된 메소드

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