Welcome Guest, Not a member yet? Register   Sign In
Use pagination in controller
#3

(10-28-2017, 04:14 PM)ChicagoPhil Wrote:
(10-27-2017, 12:19 PM)omid_student Wrote: Hello
When i use pagination library,i have to use _remap?
Because when my address be localhost\myapp\users\page\1 (in this url,users is controller) it get error that not found page
Why?

you don't have to use remap. You can configure routes to point to a method that accepts data. I'm guessing you are loading are loading an index method?

It solved,
I use function with parameter $page,$offset
And i was forced redirect index page to other function because it didn't accept parameter
Reply


Messages In This Thread
Use pagination in controller - by omid_student - 10-27-2017, 12:19 PM
RE: Use pagination in controller - by ChicagoPhil - 10-28-2017, 04:14 PM
RE: Use pagination in controller - by omid_student - 10-29-2017, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB