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

        return array_reverse($links);
    }