PEAR Manual
Prev |  | Next

# Pager::getLinks()

Pager::getLinks() -- Returns back/next/first/last and page links, both as ordered and associative array.

## Synopsis

    require_once 'Pager/Pager.php';

``array Pager::getLinks` ([integer $pageID = `NULL`])`

## Parameter

- integer `$pageID` - Optional pageID. If specified, linksfor that page are provided instead of current one.

## Return value

return back/pages/next/first/last/all links, both as numeric and associative array.

Prev | Home | Next
Pager::getCurrentPageID() | Up | Pager::getNextPageID()