Generic Pager
This class can be used to browse listings of entries split in multiple pages. It takes as parameters the total number of list entries, the limit of entries to display per page and the number of current page. The class can generate a HTML list with links to browse the listing pages, optionally with links to the previous, next, first and last pages. The text labels and the CSS classes of the links are configurable.