PEAR Manual
Prev |  | Next

# Pager_Sliding::getPreviousPageID()

Pager_Sliding::getPreviousPageID() -- Returns previous page number.

## Synopsis

    require_once 'Pager/Sliding.php';

``mixed Pager_Sliding::getPreviousPageID` ()`

## Description

If current page is first page this function returns `FALSE`, otherwise returns previous page number.

## Return value

return Previous page number or `FALSE`.

Prev | Home | Next
Pager_Sliding::getPageIdByOffset() | Up | Pager_Sliding::isFirstPage()