This class is meant to generate navigation links to split listings of arbitrary information between multiple pages.
Usually this is meant for paging listings of database query results but it can also be used for paging any other kind of listings.
The class takes the total number of records in the whole listing, the limit number of records to be displayed per page and the number of the current page being displayed.
Then it can generate navigation links to go to other listing pages appending to the current script URL an argument that indicates which page is meant to be listed. |