absolutePage

See Also

pageExecute()

cachePageExecute()

Syntax
int absolutePage(
   optional int $pageNo = -1
)

Description

Used in conjunction with pageExecute, absolutePage() returns the current page number in a paged recordset. If the optional parameter is set to a value different from -1, it forces the current page number to be the value set.

Usage

$pn = $result->absolutePage();