TimeTrex API Manual

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

Methods

__construct()

Pager constructor.

public __construct( $arr) : mixed
Parameters
$arr :
Return values
mixed

addTotalRows()

Used to dynamically add total rows outside of a record set.

public addTotalRows( $value) : bool
Parameters
$value :
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
Return values
bool|int

Search results