Welcome Guest, Not a member yet? Register   Sign In
Custom functions. Where to put them?
#1

[eluser]callumd[/eluser]
Hi There,

I have some custom functions that I want my CodeIgniter app to use. Where should I put them?

Should I create a new folder and put them in there? If so, what's the best way to "include" them in the controllers/classes that need them?

CodeIgniter doesn't seem to enforce any way of doing it.. so perhaps what I'm really asking for is, what is considered "best practise"?

Thanks.


Messages In This Thread
Custom functions. Where to put them? - by El Forum - 01-11-2011, 05:52 PM
Custom functions. Where to put them? - by El Forum - 01-11-2011, 09:45 PM
Custom functions. Where to put them? - by El Forum - 01-11-2011, 10:13 PM
Custom functions. Where to put them? - by El Forum - 01-12-2011, 03:52 AM
Custom functions. Where to put them? - by El Forum - 01-12-2011, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB