Returns back/next/first/last and page links, both as ordered and associative array.
NB: in original PEAR::Pager this method accepted two parameters, $back_html and $next_html. Now the only parameter accepted is an integer ($pageID), since the html text for prev/next links can be set in the constructor. If a second parameter is provided, then the method act as it previously did. This hack's only purpose is to mantain backward compatibility.
Return: Back/pages/next links
Overrides Pager_Common::getLinks() (Returns back/next/first/last and page links, both as ordered and associative array.)
Optional pageID. If specified, links for that page are provided instead of current one. [ADDED IN NEW PAGER VERSION]
HTML to put inside the next link [deprecated: use the factory instead]
Given a PageId, it returns the limits of the range of pages displayed.
While getOffsetByPageId() returns the offset of the data within the current page, this method returns the offsets of the page numbers interval. E.g., if you have pageId=3 and delta=10, it will return (1, 10). PageID of 8 would give you (1, 10) as well, because 1 <= 8 <= 10. PageID of 11 would give you (11, 20). If the method is called without parameter, pageID is set to currentPage#.