public function all()
    {
        return static::createArrayIterator($this->filter($this->menu[$this->getLang()], $this->_where, $this->_with), $this->getLang(), $this->_with, $this->_preloadModels);
    }
public function all()
    {
        return static::createArrayIterator($this->filter($this->menu[$this->getLang()], $this->_where, $this->_with), $this->getLang(), $this->_with, $this->_preloadModels);
    }
public function all ( ) { return static :: createArrayIterator ( $ this -> filter ( $ this -> menu [ $ this -> getLang ( ) ] , $ this -> _where , $ this -> _with ) , $ this -> getLang ( ) , $ this -> _with , $ this -> _preloadModels ) ; }
Retrieve all found rows based on the filtering options and returns the the QueryIterator object
which is represents an array.

@return \luya\cms\menu\QueryIterator Returns the QueryIterator object.
Retrieve all found rows based on the filtering options and returns the the QueryIterator object which is represents an array .