protected function getPreviousButton($text = "«") { if ($this->currentPage() <= 1) { return $this->getDisabledTextWrapper($text); } $url = $this->url($this->currentPage() - 1); return $this->getPageLinkWrapper($url, $text); }