public function getLoadedModel($id)
    {
        return isset($this->_loadModels[$id]) ? $this->_loadModels[$id] : null;
    }
public function getLoadedModel($id)
    {
        return isset($this->_loadModels[$id]) ? $this->_loadModels[$id] : null;
    }
public function getLoadedModel ( $ id ) { return isset ( $ this -> _loadModels [ $ id ] ) ? $ this -> _loadModels [ $ id ] : null ; }
Get the model for a given id.

If the model was not preloaded by {{loadModels}} null is returned.

@param integer $id
@return null|\luya\cms\models\Nav
Get the model for a given id .