Welcome Guest, Not a member yet? Register   Sign In
Using model functions in View
#6

[eluser]benoa[/eluser]
Daparky, since the goal of MVC is to separate data manipulation from template files, it's always bad practice to call model functions from the view files. Though it is possible to so... So at the end it's still up to you!

If you are working with a designer who doesn't know much about PHP, you might want to avoid putting too much of it inside your views Wink Or backup your files very carefully!


Messages In This Thread
Using model functions in View - by El Forum - 09-20-2009, 07:12 AM
Using model functions in View - by El Forum - 09-20-2009, 07:19 AM
Using model functions in View - by El Forum - 09-20-2009, 08:14 AM
Using model functions in View - by El Forum - 09-20-2009, 08:29 AM
Using model functions in View - by El Forum - 09-20-2009, 09:22 AM
Using model functions in View - by El Forum - 09-20-2009, 11:59 AM
Using model functions in View - by El Forum - 09-20-2009, 02:36 PM
Using model functions in View - by El Forum - 09-20-2009, 03:42 PM
Using model functions in View - by El Forum - 09-20-2009, 05:58 PM
Using model functions in View - by El Forum - 09-20-2009, 06:41 PM
Using model functions in View - by El Forum - 09-20-2009, 07:52 PM
Using model functions in View - by El Forum - 09-21-2009, 01:31 AM
Using model functions in View - by El Forum - 09-21-2009, 06:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB