This class can be used to generate links to split listings in multiple pages.
It takes as arguments the total number of entries in a listing and the limit number of listing entries to show per page. The current listing page is retrieved from a GET request parameter.
The class can generate links to go to the next, previous and any intermediate pages.
The next and previous links can be displayed with a text string or as an image. The base link URL, the text string or the image URL are also configurable. |