Mode/ModeManager.php
public function simplePagination($perPage = 15){
        $pegination = $this->pagination($perPage);

        $pegination->setMode(Paginator::MODE_SIMPLE);
        return $pegination;
    }
public function simplePagination($perPage = 15){
        $pegination = $this->pagination($perPage);

        $pegination->setMode(Paginator::MODE_SIMPLE);
        return $pegination;
    }
public function simplePagination ( $ perPage = 15 ) { $ pegination = $ this -> pagination ( $ perPage ) ; $ pegination -> setMode ( Paginator :: MODE_SIMPLE ) ; return $ pegination ; }
create a paginaton instance and return it

@param int $perPage
@return Paginator
create a paginaton instance and return it