What does 'the segments passed to your function will be the re-routed ones.' mean exactly |
[eluser]Aken[/eluser]
It means that the method's parameters will ignore the URL in the browser if the URL has been moved using routes. Example controller: Code: class Example extends CI_Controller { Example route: Code: $route['fakecontroller/fakemethod/newvar/newvar2'] = 'example/yourmethod/oldvar/oldvar2'; If you go to your routed URL, http://www.example.com/fakecontroller/fa...ar/newvar2, you'll see that those extra segments are not passed to the method's params. It will only use the routed (or "standard") URL segments. |
Messages In This Thread |
What does 'the segments passed to your function will be the re-routed ones.' mean exactly - by El Forum - 01-11-2013, 01:48 PM
What does 'the segments passed to your function will be the re-routed ones.' mean exactly - by El Forum - 01-11-2013, 04:58 PM
|