This is a generic pagination class, meaning that it does not display any records, just the pagination links.
As parameters, the developer needs to pass the total number of listing entries, the current page number and the limit number of entries to display per page.
It generates HTML links to the previous, next and any middle pages.
The class can be used to paginate over records coming from any source (arrays, database, etc).
The style of the navigation links is configurable using CSS styles.
Requirements:
· PHP 5 or higher
What's New in This Release: [ read full changelog ]
· Pagination links can now be generated also in reverse order; use the newly added reverse method for that;
· Everything is now centered by default;
· Changed the “next” and “previous” icons;
· Tweaked the CSS file;