ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:atlastpage

atLastPage

See Also

pageExecute()

cachePageExecute()

Syntax
bool atLastPage(
   optional bool $status=false
)

Description

Used in conjunction with pageExecute, atLastPage() returns true if at the last page set in a group. If the optional parameter is set true, it forces the current page to be the last. Any subsequent calls to last page will return this page.

Usage

$lp = $result->atLastPage();
v5/reference/recordset/atlastpage.txt · Last modified: 2016/08/13 19:04 by mnewnham