Welcome Guest, Not a member yet? Register   Sign In
Loading libaries, helpers, configs, models etc at call-time
#3

[eluser]micha8l[/eluser]
[quote author="Killswitch" date="1344387803"]load them in the config/autoload.php file, by setting

Code:
$autoload['models'] = array('blog_model', 'blog_post_model');
[/quote]

Thanks for replying man. I know about autoload, but this isn't what I'm trying to achieve. I'd like to side-step any loading entirely, and instead only load when called. Although I'm unaware of the implication this would cause, because surely if the idea was sound Codeigniter would of implemented it, right?


Messages In This Thread
Loading libaries, helpers, configs, models etc at call-time - by El Forum - 08-07-2012, 06:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB