| Method | Description | Returns | 
|---|---|---|
| getFirstPage() | Get the first page in this pagination | PaginationPage | 
| getPreviousPage() | Get the previous page. Will return the first page if the current page is the first page. | PaginationPage | 
| getCurrentPage() | Get the current page | PaginationPage | 
| getNextPage() | Get the next page. Will return the last page if the current page is the last page. | PaginationPage | 
| getLastPage() | Get the last page in this pagination | PaginationPage | 
| getPages() | Get an array with the pages of this pagination | array | 
| getRecordCount() | Get the number of records | int | 
| getRecordsPerPage() | Get the number of records per page | int | 
| getPagesCount() | Get the number of pages | int | 
| getCurrentPageNumber() | Get the current page number. If the number of records is 0, this returns 0 | int | 
| getCurrentOffset() | Get the current offset. If the number of records is 0, this returns 0 | int | 
Pagination (Frontend)
Helper for managing paging of records. Can be access with $_pagination