protected function getListReportRoute($count = false)
    {
        $list = $this->route->getList();
        $this->prepareListReportRoute($list);
        $allowed = $this->getAllowedFiltersReportRoute();

        $this->filterList($list, $allowed, $this->query_filter);
        $this->sortList($list, $allowed, $this->query_filter, array('pattern' => 'asc'));

        if ($count) {
            return count($list);
        }

        $this->limitList($list, $this->data_limit);
        return $list;
    }
protected function getListReportRoute($count = false)
    {
        $list = $this->route->getList();
        $this->prepareListReportRoute($list);
        $allowed = $this->getAllowedFiltersReportRoute();

        $this->filterList($list, $allowed, $this->query_filter);
        $this->sortList($list, $allowed, $this->query_filter, array('pattern' => 'asc'));

        if ($count) {
            return count($list);
        }

        $this->limitList($list, $this->data_limit);
        return $list;
    }
protected function getListReportRoute ( $ count = false ) { $ list = $ this -> route -> getList ( ) ; $ this -> prepareListReportRoute ( $ list ) ; $ allowed = $ this -> getAllowedFiltersReportRoute ( ) ; $ this -> filterList ( $ list , $ allowed , $ this -> query_filter ) ; $ this -> sortList ( $ list , $ allowed , $ this -> query_filter , array ( 'pattern' => 'asc' ) ) ; if ( $ count ) { return count ( $ list ) ; } $ this -> limitList ( $ list , $ this -> data_limit ) ; return $ list ; }
Returns an array of routes or counts them
@param bool $count
@return array|int
Returns an array of routes or counts them