kartik\builder\FormTrait::hasModel PHP 메소드

hasModel() 보호된 메소드

Check if a valid model is set for the object instance.
protected hasModel ( ) : boolean
리턴 boolean whether there is a valid model set.
    protected function hasModel()
    {
        return isset($this->model) && $this->model instanceof Model;
    }