Welcome Guest, Not a member yet? Register   Sign In
calling functions from the view file
#2

[eluser]Sarfaraz Momin[/eluser]
You cannot call a controller method from the view. Instead you can call them in the controller and pass the value that it returns to the view. It does not make sense to do such a thing in MVC. Smile

Have a good day !!!


Messages In This Thread
calling functions from the view file - by El Forum - 09-04-2008, 05:25 AM
calling functions from the view file - by El Forum - 09-04-2008, 05:40 AM
calling functions from the view file - by El Forum - 09-04-2008, 05:44 AM
calling functions from the view file - by El Forum - 09-04-2008, 05:52 AM
calling functions from the view file - by El Forum - 09-04-2008, 09:12 AM
calling functions from the view file - by El Forum - 09-04-2008, 11:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB