Welcome Guest, Not a member yet? Register   Sign In
Routing by POST values
#4

[eluser]dop3[/eluser]
Perfect...
Now, let me say:

What I would like to do is this kind of controller's mapping:
Code:
Value passed via POST (or via GET too, should be the same)

"contr" => "controllerlName"
"task" => "controllerFunctionName"

"var" => "someValue"
...
"foo" => "otherValue"
With the convention that the request (no matter if POST or GET) has to have at least two params (pair key => value), one with key="contr" (that map the controller class) and the other with key="task" (that map the function to call on the controller)...

What would be the best way to do something like this with CI?

Thanks


Messages In This Thread
Routing by POST values - by El Forum - 09-20-2008, 09:30 AM
Routing by POST values - by El Forum - 09-20-2008, 03:28 PM
Routing by POST values - by El Forum - 09-20-2008, 03:47 PM
Routing by POST values - by El Forum - 09-21-2008, 10:52 AM
Routing by POST values - by El Forum - 09-21-2008, 11:42 AM
Routing by POST values - by El Forum - 09-21-2008, 02:31 PM
Routing by POST values - by El Forum - 09-21-2008, 02:42 PM
Routing by POST values - by El Forum - 09-21-2008, 03:53 PM
Routing by POST values - by El Forum - 09-22-2008, 02:53 AM
Routing by POST values - by El Forum - 09-22-2008, 03:15 AM
Routing by POST values - by El Forum - 09-22-2008, 03:34 AM
Routing by POST values - by El Forum - 09-22-2008, 06:56 AM
Routing by POST values - by El Forum - 09-22-2008, 07:06 AM
Routing by POST values - by El Forum - 09-22-2008, 07:35 AM
Routing by POST values - by El Forum - 09-22-2008, 08:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB