trait Paginator

Methods

void
setPaginationRenderer(object $xRenderer)

Set the pagination renderer

Paginator
paginator(integer $nItemsTotal, integer $nItemsPerPage, integer $nCurrentPage, Request $xRequest)

Get the pagination object for a Jaxon request

Details

at line line 26
void setPaginationRenderer(object $xRenderer)

Set the pagination renderer

Parameters

object $xRenderer The pagination renderer

Return Value

void

at line line 41
Paginator paginator(integer $nItemsTotal, integer $nItemsPerPage, integer $nCurrentPage, Request $xRequest)

Get the pagination object for a Jaxon request

Parameters

integer $nItemsTotal The total number of items
integer $nItemsPerPage The number of items per page page
integer $nCurrentPage The current page
Request $xRequest A request to a Jaxon function

Return Value

Paginator The paginator instance