Home » Database » DB_Pager
Retrieve and return information of database result sets
This package is unmaintained.
Download latest release 0.7.2 (archived versions might be outdated)
License: LGPL
Description
This class handles all the stuff needed for displaying
paginated results from a database query of Pear DB.
including fetching only the needed rows and giving extensive information
for helping build an HTML or GTK query result display.
Maintainers
- Tomas V.V.Cox (cox) — lead, active
- Lorenzo Alberton (quipo) — lead, active
Dependencies
Required
- PHP (>= 4.0.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 0.7.2 (beta, 2009-01-04)
Release notes
License: LGPL
Package 2.0
- 0.7 (stable, 2002-05-12)
Release notes
License: LGPL
- Marked as deprecated constructor, build(), fetchInto() and fetchRow(). Use the native PEAR DB row limit support instead (the limitQuery() method)
- Implemented the Google algorithm for restricting the number of pages to show (the new fourth param of DB_Pager::getData())
- Added more info in the data array: maxpages, firstpage, lastpage
- Updated in-line doc with usage example
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #4602 | Closed | Bug | 2005-06-16 | Range is not the correct width if maxpages is set. | |
| #4842 | Closed | Bug | 2005-07-15 | Notice arises when returning null in getData | |
| #5783 | No Feedback | Req | 2005-10-25 | Pager do not take care of "order" clause in sql request | |
| #6677 | Closed | Bug | 0.7 | 2006-02-02 | Only variable references should be returned by reference |