Welcome Guest, Not a member yet? Register   Sign In
Internal Controller Redirect????
#2

[eluser]Narkboy[/eluser]
[quote author="Freewolf" date="1295666066"]Is there a way to do an internal redirect within the same controller.

I want to check a few things in one method and if everything is not present to send control back to another method but all within the same controller. Is there a way to do this other than redirect()??[/quote]

Not currently. You can't call a controller from a controller. Sad It's being looked at I believe.

You'll need to rethink your approach - perhaps have one controller function that checks and performs different actions depending on the results?

/B


Messages In This Thread
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:14 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:27 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:37 PM
Internal Controller Redirect???? - by El Forum - 01-21-2011, 03:38 PM
Internal Controller Redirect???? - by El Forum - 01-22-2011, 01:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB