Welcome Guest, Not a member yet? Register   Sign In
Where to put an email function
#4

[eluser]sophistry[/eluser]
depending how you want to set it up you could also make a master controller (a front-controller) by subclassing all of your controllers to one master controller then put the snippet functions in there.

also, a helper is a good place for code that simply "wraps" other code. read up on helper in the guide.

if you want to still build your own separate library that talks to CI the user guide referenced above has info on that too. search on get_instance.


Messages In This Thread
Where to put an email function - by El Forum - 06-11-2008, 06:58 AM
Where to put an email function - by El Forum - 06-11-2008, 07:08 AM
Where to put an email function - by El Forum - 06-11-2008, 12:47 PM
Where to put an email function - by El Forum - 06-11-2008, 01:13 PM
Where to put an email function - by El Forum - 06-11-2008, 02:11 PM
Where to put an email function - by El Forum - 06-11-2008, 07:43 PM
Where to put an email function - by El Forum - 06-11-2008, 09:24 PM
Where to put an email function - by El Forum - 06-11-2008, 09:29 PM
Where to put an email function - by El Forum - 06-12-2008, 05:11 AM
Where to put an email function - by El Forum - 03-24-2009, 06:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB