paginator::prev_link PHP Method

    public function prev_link($text = null, $default = '', $attrs = array())
    {
        if (is_null($text)) {
            $text = $this->next;
        }
        $pages = ceil($this->count / $this->perpage);
        if ($this->page < $pages) {
            $page = $this->page + 1;
            return $this->link($text, array_merge(array('href' => $this->url . '/' . $page), $attrs));
        }
        return $default;
    }