Welcome Guest, Not a member yet? Register   Sign In
Using other controller to display a view
#1

[eluser]sw[/eluser]
I'm not sure if this is the right MVC approach and if not please educate me.

From my main controller I want to display another controllers view, is it possible? How?



ie: I have an auth controller that has a function to display the login form. From my main controller, I want to call auth controller in order to display the login form.
I don't do it directly because the login form to be displayed depends on several parameters handled by the auth controller.


I hope that made sense.
Thanks in advance.


Messages In This Thread
Using other controller to display a view - by El Forum - 04-02-2009, 06:31 PM
Using other controller to display a view - by El Forum - 04-02-2009, 06:53 PM
Using other controller to display a view - by El Forum - 04-02-2009, 07:17 PM
Using other controller to display a view - by El Forum - 04-02-2009, 07:37 PM
Using other controller to display a view - by El Forum - 04-02-2009, 09:29 PM
Using other controller to display a view - by El Forum - 04-03-2009, 04:35 AM
Using other controller to display a view - by El Forum - 04-03-2009, 12:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB