[eluser]mdvaldosta[/eluser]
[quote author="callumd" date="1294827181"]Great, thanks.
What about functions pertaining to business logic?
Eg.. let's say the app has a field where the user enters in the amount of water they used on a given day. The app needs to check if this figure is below 200 liters, and a couple of other small checks. Pre framework days, I'd just write a function called isWaterUsageAcceptable() which would return true or false.
Doing it proper MVC style with CodeIgniter, where would such functions belong?[/quote]
I would put that in a helper, unless only one controller needs to use it then I'd put it in the controller as a function and prefix it with an _underscore.