Welcome Guest, Not a member yet? Register   Sign In
functions in views
#2

[eluser]Aken[/eluser]
If all your time_difference() function does is take the timestamp and turn it into something like a human-friendly time, then you're fine. That isn't a big deal, because it's a presentational thing. You'll get some people who strictly say NO, but it's not a hard-written rule.

Just don't go doing a bunch of logic stuff in your views, that's what you should be avoiding.


Messages In This Thread
functions in views - by El Forum - 04-23-2013, 04:03 PM
functions in views - by El Forum - 04-23-2013, 08:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB