public function loadModels()
    {
        if ($this->_loadModels === null) {
            $this->_loadModels = Nav::find()->indexBy('id')->where(['in', 'id', ArrayHelper::getColumn($this->data, 'nav_id')])->with(['properties.adminProperty'])->all();
        }
        
        return $this->_loadModels;
    }
public function loadModels()
    {
        if ($this->_loadModels === null) {
            $this->_loadModels = Nav::find()->indexBy('id')->where(['in', 'id', ArrayHelper::getColumn($this->data, 'nav_id')])->with(['properties.adminProperty'])->all();
        }
        
        return $this->_loadModels;
    }
public function loadModels ( ) { if ( $ this -> _loadModels === null ) { $ this -> _loadModels = Nav :: find ( ) -> indexBy ( 'id' ) -> where ( [ 'in' , 'id' , ArrayHelper :: getColumn ( $ this -> data , 'nav_id' ) ] ) -> with ( [ 'properties.adminProperty' ] ) -> all ( ) ; } return $ this -> _loadModels ; }
Load all models for ghe given Menu Query.


@return array An array where the key is the id of the nav model and value the {{luya\cms\models\Nav}} object.
Load all models for ghe given Menu Query .