#29 Generating The Offset Pagination Urls
In this article we will focus on generating all of the information that we need to
display all of the various components of our pager to the user. We will start by
generating the stats which will tell the user which items they are viewing out of
how many, next we will generate the urls for the first, next, previous and last
anchors, then we will generate the information for the individual page anchors
using a separate anchor class and lastly we will determine which of the first, next,
previous, and last anchors should be shown at all.