Welcome Guest, Not a member yet? Register   Sign In
Where is the best place to use html_escape? Model, view or controller?
#6

[eluser]PhilTem[/eluser]
IMHO escaping is not necessarily data manipulation since the data itself actually stays the same it's just a different way of displaying it. Data manipulation would be trimming, concatenating, and stuff like that. Plus it's at the end of your whole process so you don't perform any more further tasks with the data you displayed.

That's why I'm using escaping in the views Wink


Messages In This Thread
Where is the best place to use html_escape? Model, view or controller? - by El Forum - 11-02-2012, 08:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB