Welcome Guest, Not a member yet? Register   Sign In
Calling a helper method from a view
#6

[eluser]Alninio[/eluser]
OK, I have fixed it by moving the grid builder code into its own helper file, building the grid and passing it into the view as a string.

Its just as bad MVC wise as before because now I have display logic in a helper file but at least it solved the problems I was having with function scope.

Thanks for the help Smile

Al.


Messages In This Thread
Calling a helper method from a view - by El Forum - 02-25-2009, 05:01 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 06:40 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 08:14 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 08:44 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 08:46 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 10:35 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 11:45 PM
Calling a helper method from a view - by El Forum - 02-25-2009, 11:59 PM
Calling a helper method from a view - by El Forum - 02-26-2009, 12:02 AM
Calling a helper method from a view - by El Forum - 02-26-2009, 06:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB