private function setCurrentPage()
    {
        if ($this->perPage == 'all') return;

        if ($this->hasInput('page'))
        {
            $page_input = $this->getInput('page');

            if ($this->isValidPageNumber($page_input))
            {
                $this->page = $page_input;
            }
        }
    }
private function setCurrentPage()
    {
        if ($this->perPage == 'all') return;

        if ($this->hasInput('page'))
        {
            $page_input = $this->getInput('page');

            if ($this->isValidPageNumber($page_input))
            {
                $this->page = $page_input;
            }
        }
    }
private function setCurrentPage ( ) { if ( $ this -> perPage == 'all' ) return ; if ( $ this -> hasInput ( 'page' ) ) { $ page_input = $ this -> getInput ( 'page' ) ; if ( $ this -> isValidPageNumber ( $ page_input ) ) { $ this -> page = $ page_input ; } } }
This will just set the page property

@return void
This will just set the page property