This is a simple class that can be used to display pagination links between the different pages of listings.
It takes as parameters the number of current page to display, the total number of entries in the listing, and the limit of entries to display per page.
It returns the HTML for a list of links to the next and the previous page, as well the number of the current page.
The code, the comments and the class text output are in Spanish.