Prado\Collections\TPagedList::previousPage PHP Method

previousPage() public method

Switches to the previous page.
public previousPage ( ) : integer | boolean
return integer | boolean the new page index, false if previous page is not available.
    public function previousPage()
    {
        return $this->gotoPage($this->_currentPageIndex - 1);
    }

Usage Example

Esempio n. 1
0
 /**
  * Switches to the previous page.
  * @return integer|boolean the new page index, false if previous page is not availabe.
  */
 public function previousPage()
 {
     return $this->getIsPreviousPageAvailable() ? parent::previousPage() : false;
 }
All Usage Examples Of Prado\Collections\TPagedList::previousPage