public
Paginator
|
#
setPage( integer $page )
Sets current page number.
Sets current page number.
Parameters
Returns
|
public
integer
|
#
getPage( )
Returns current page number.
Returns current page number.
Returns
integer
|
public
integer
|
#
getFirstPage( )
Returns first page number.
Returns first page number.
Returns
integer
|
public
integer|null
|
#
getLastPage( )
Returns last page number.
Returns last page number.
Returns
integer|null
|
protected
integer
|
#
getPageIndex( )
Returns zero-based page number.
Returns zero-based page number.
Returns
integer
|
public
integer|null
|
#
getPageCount( )
Returns the total number of pages.
Returns the total number of pages.
Returns
integer|null
|
public
Paginator
|
#
setItemsPerPage( integer $itemsPerPage )
Sets the number of items to display on a single page.
Sets the number of items to display on a single page.
Parameters
Returns
|
public
integer
|
#
getItemsPerPage( )
Returns the number of items to display on a single page.
Returns the number of items to display on a single page.
Returns
integer
|