Example #1
0
 function getPagination($maxpages)
 {
     $uri = KunenaRoute::normalize(null, true);
     if ($uri) {
         $uri->delVar('mesid');
     }
     $pagination = new KunenaHtmlPagination($this->total, $this->state->get('list.start'), $this->state->get('list.limit'));
     $pagination->setDisplay($maxpages, $uri);
     return $pagination->getPagesLinks();
 }
Example #2
0
 function getPagination($maxpages)
 {
     $pagination = new KunenaHtmlPagination($this->total, $this->state->get('list.start'), $this->state->get('list.limit'));
     $pagination->setDisplay($maxpages);
     return $pagination->getPagesLinks();
 }