PagedQuery::__construct
(
Connection
$conn,
$sql = null ,
$page = 1 ,
$rowsPerPage = 25
)
|
|
void PagedQuery::setPage ( $p ) |
Set the current page number (First page is 1).
|
int PagedQuery::getPage ( ) |
Get current page.
|
PagedQuery::setRowsPerPage ( $r ) |
Set the number of rows per page.
|
int PagedQuery::getRowsPerPage ( ) |
Get number of rows per page.
|
int PagedQuery::getTotalRecordCount ( ) |
Gets the total number (un-LIMITed) of records. This method will perform a query that executes un-LIMITed query. This method is not performance-conscious, so don't call this repeatedly for the same query.
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|