Pager

Table of Contents
Introduction -- Usage of Pager 2.x
Pager "Jumping" vs. "Sliding" -- Feature comparison of the two pager styles
Pager::factory() -- Creates a pager instance
Pager::getCurrentPageID() -- Returns current page number
Pager::getLinks() --  Returns back/next/first/last and page links, both as ordered and associative array.
Pager::getNextPageID() -- Returns next page number.
Pager::getOffsetByPageId() -- Returns offsets for given pageID.
Pager::getPageData() -- Returns an array of current pages data
Pager::getPageIdByOffset() -- Returns the page number for the given offset
Pager::getPageRangeByPageId() -- Returns offsets for given pageID.
Pager::getPreviousPageID() -- Returns previous page number.
Pager::getperpageselectbox() -- Returns a string with a XHTML SELECT menu, to choose how many items per page should be displayed.
Pager::isFirstPage() -- Returns whether current page is first page
Pager::isLastPage() -- Returns whether current page is last page
Pager::isLastPageComplete() -- Returns whether last page is complete
Pager::numItems() -- Returns number of items
Pager::numPages() -- Returns number of pages
Pager::Pager() -- Creates a pager instance

Data paging class which also builds links to the pages.