Welcome Guest, Not a member yet? Register   Sign In
How to call a controller from another controller ?
#6

[eluser]johnpeace[/eluser]
[quote author="juanvillegas" date="1297913279"]Well, theres no reason to do that, unless you just want to exit the controller and start running another one. In that case, just use redirect() function in the URL helper. See http://ellislab.com/codeigniter/user-gui...elper.html[/quote]

It's true, the OP is missing the point of what a controller is/does in MVC arch.

It's not whether it's possible to ask, ask if it's the best way to achieve what you're after (hint: it's not).


Messages In This Thread
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:04 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:25 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:37 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 12:43 PM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 03:27 PM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 05:41 PM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:04 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:29 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:58 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:01 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:02 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:09 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB