This class can display links for browsing database query results.
It takes as parameters the limit of records to display per page, the total number of records in the database query result set and the number of the current listing page.
The class can generate links to browse to the previous, next and any intermediate result listing pages.
It can also generate form select inputs with the lists of all pages to let the user choose a list page to which the browser is redirected.
The class can also return the MySQL query LIMIT clause to retrieve only the result records that will be displayed in the current listing page. |