Welcome Guest, Not a member yet? Register   Sign In
Variable Accessible In View, But Not Within View's Function?
#3

[eluser]Walter Coots[/eluser]
Thanks Sam. I thought that might have been the case. I'm sort-of new to the MVC design pattern, and sometimes the distinction between view and controller confuses me. Although the function is for generating a portion of the view, I suppose this would be along the lines of having a function in a model with the intention of cleaning up data for presentation. (Which makes more sense being done in the controller.)


Messages In This Thread
Variable Accessible In View, But Not Within View's Function? - by El Forum - 12-05-2010, 07:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB