public function getPreviousPage()
    {
        $previousPage = $this->getPage() - 1;
        $firstPage = $this->getFirstPage();
        if ($firstPage > $previousPage) {
            $previousPage = $firstPage;
        }

        return $previousPage;
    }
public function getPreviousPage()
    {
        $previousPage = $this->getPage() - 1;
        $firstPage = $this->getFirstPage();
        if ($firstPage > $previousPage) {
            $previousPage = $firstPage;
        }

        return $previousPage;
    }
public function getPreviousPage ( ) { $ previousPage = $ this -> getPage ( ) - 1 ; $ firstPage = $ this -> getFirstPage ( ) ; if ( $ firstPage > $ previousPage ) { $ previousPage = $ firstPage ; } return $ previousPage ; }
Returns previous page.

@return int
Returns previous page .