Welcome Guest, Not a member yet? Register   Sign In
Common functions - best practices
#5

[eluser]bretticus[/eluser]
[quote author="m40" date="1251837183"]I thought about this, but my understanding is that helpers should be reusable pieces/modules and the function in question is very application specific and I don't know...[/quote]

If your method is likely to be used by every controller, than putting it in MY_controller seems appropriate.


Messages In This Thread
Common functions - best practices - by El Forum - 09-01-2009, 09:11 AM
Common functions - best practices - by El Forum - 09-01-2009, 09:23 AM
Common functions - best practices - by El Forum - 09-01-2009, 09:26 AM
Common functions - best practices - by El Forum - 09-01-2009, 09:33 AM
Common functions - best practices - by El Forum - 09-01-2009, 09:46 AM
Common functions - best practices - by El Forum - 09-01-2009, 10:16 AM
Common functions - best practices - by El Forum - 09-01-2009, 03:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB