PEAR Manual
Prev |  | Next

# Pager_Sliding::getLinks()

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

## Synopsis

    require_once 'Pager/Sliding.php';

``array Pager_Sliding::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_Sliding::getCurrentPageID() | Up | Pager_Sliding::getNextPageID()