public function getNext()
    {
        if ($this->getPage() != $this->getLastPage()) {
            $next = $this->getPage() + 1;
        } else {
            $next = false;
        }

        return $next;
    }
public function getNext()
    {
        if ($this->getPage() != $this->getLastPage()) {
            $next = $this->getPage() + 1;
        } else {
            $next = false;
        }

        return $next;
    }
public function getNext ( ) { if ( $ this -> getPage ( ) != $ this -> getLastPage ( ) ) { $ next = $ this -> getPage ( ) + 1 ; } else { $ next = false ; } return $ next ; }
get next id

@return mixed $next
get next id