CodeIgniter Forums
Discussions on Pagination hasNext() and hasPrevious() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Discussions on Pagination hasNext() and hasPrevious() (/showthread.php?tid=68610)



Discussions on Pagination hasNext() and hasPrevious() - bangbangda - 08-03-2017

If current page > 1 , then it should show "previous page".If page count > current page , then it should show "next page".

I think this is more reasonable. Such as google search paging style.


RE: Discussions on Pagination hasNext() and hasPrevious() - kilishan - 08-03-2017

No need to double post. It won't make things happen faster. And I'm not sure what change you're recommending, since you can completely customize the output to match whatever you want it to be...


RE: Discussions on Pagination hasNext() and hasPrevious() - bangbangda - 08-04-2017

Sorry, my English is no good.
I am through the custom paging class solution, do not need to discuss. Thank you