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

[eluser]Freewolf[/eluser]
I am not looking to redirect to a controller but to another method within the same controller.
Code:
class Some_controller extends Controller

function Some_controller ()
{ parent::Controller }

function index()
{
// do something
some_call_to_redirect_to_another_method('new_method');
}

function new_method()
{
// do something else now
something_more();
}

Make sense??

I need to do this as the way the user needs to get routed and the urls and the way the rest of the site interacts with this particular controller.


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