src/ngrest/base/ActiveWindow.php
public function getModel()
    {
        if ($this->_model === null && $this->ngRestModelClass !== null) {
            $this->_model = call_user_func_array([$this->ngRestModelClass, 'findOne'], $this->itemIds);
        }
        
        return $this->_model;
    }
public function getModel()
    {
        if ($this->_model === null && $this->ngRestModelClass !== null) {
            $this->_model = call_user_func_array([$this->ngRestModelClass, 'findOne'], $this->itemIds);
        }
        
        return $this->_model;
    }
public function getModel ( ) { if ( $ this -> _model === null && $ this -> ngRestModelClass !== null ) { $ this -> _model = call_user_func_array ( [ $ this -> ngRestModelClass , 'findOne' ] , $ this -> itemIds ) ; } return $ this -> _model ; }
Get the model object from where the Active Window is attached to.

@return \luya\admin\ngrest\base\NgRestModel Get the model of the called ngrest model ActiveRecord by it's itemId.
Get the model object from where the Active Window is attached to .