Welcome Guest, Not a member yet? Register   Sign In
Cost of CI instance?
#1

[eluser]CodeIgniterNewbie[/eluser]
I'm working on a helper file and realizing that a lot of the functions in there need access to a CI instance for one reason or another (e.g. access to the config, access to the models, etc.). Is there going to be a performance hit due to this?

Am I better off trying to put these helper functions in, say, a "common" controller (it's the controllers that need access to these helper function) since the controller already has access to config, languages, models, etc. (these are usually already autoloaded)?


Messages In This Thread
Cost of CI instance? - by El Forum - 11-05-2010, 06:52 PM
Cost of CI instance? - by El Forum - 11-05-2010, 07:06 PM
Cost of CI instance? - by El Forum - 11-05-2010, 07:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB