Prado\Collections\TPagedList::previousPage PHP Метод

previousPage() публичный Метод

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

Usage Example

Пример #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