Pager
in package
Table of Contents
- $add_total_rows : mixed
- $count_rows : mixed
- $rs : mixed
- __construct() : mixed
- Pager constructor.
- addTotalRows() : bool
- Used to dynamically add total rows outside of a record set.
- getCurrentPage() : bool|int
- getNextPage() : bool|int
- getPageVariables() : array<string|int, mixed>
- getPreviousPage() : bool|int
- getRowsPerPage() : bool|int
- Return maximum rows per page
- getTotalRows() : bool|int
- isFirstPage() : bool
- isLastPage() : bool
- LastPageNumber() : bool|int
Properties
$add_total_rows
protected
mixed
$add_total_rows
= 0
$count_rows
protected
mixed
$count_rows
= \true
$rs
protected
mixed
$rs
= \null
Methods
__construct()
Pager constructor.
public
__construct( $arr) : mixed
Parameters
Return values
mixed —addTotalRows()
Used to dynamically add total rows outside of a record set.
public
addTotalRows( $value) : bool
Parameters
Return values
bool —getCurrentPage()
public
getCurrentPage() : bool|int
Return values
bool|int —getNextPage()
public
getNextPage() : bool|int
Return values
bool|int —getPageVariables()
public
getPageVariables() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPreviousPage()
public
getPreviousPage() : bool|int
Return values
bool|int —getRowsPerPage()
Return maximum rows per page
public
getRowsPerPage() : bool|int
Return values
bool|int —getTotalRows()
public
getTotalRows() : bool|int
Return values
bool|int —isFirstPage()
public
isFirstPage() : bool
Return values
bool —isLastPage()
public
isLastPage() : bool
Return values
bool —LastPageNumber()
public
LastPageNumber() : bool|int