public function getNextLinks($range = 5)
    {
        $total = $this->getTotalPages();
        $start = $this->getPage() + 1;
        $end = $this->getPage() + $range;
        $last = $this->getLastPage();
        $links = array();
        for ($i = $start; $i < $end; $i++) {
            if ($i > $last) {
                break;
            }
            $links[] = $i;
        }

        return $links;
    }
public function getNextLinks($range = 5)
    {
        $total = $this->getTotalPages();
        $start = $this->getPage() + 1;
        $end = $this->getPage() + $range;
        $last = $this->getLastPage();
        $links = array();
        for ($i = $start; $i < $end; $i++) {
            if ($i > $last) {
                break;
            }
            $links[] = $i;
        }

        return $links;
    }
public function getNextLinks ( $ range = 5 ) { $ total = $ this -> getTotalPages ( ) ; $ start = $ this -> getPage ( ) + 1 ; $ end = $ this -> getPage ( ) + $ range ; $ last = $ this -> getLastPage ( ) ; $ links = array ( ) ; for ( $ i = $ start ; $ i < $ end ; $ i ++ ) { if ( $ i > $ last ) { break ; } $ links [ ] = $ i ; } return $ links ; }
get an array of next id's

@param int $range

@return array $links
get an array of next id s