Welcome Guest, Not a member yet? Register   Sign In
How to load my classes whenever, wherever without having to include/require them
#3

[eluser]sneakyimp[/eluser]
Thanks for your response!

Quote:Libraries and models you should set in file:
Code:
APPPATH . 'config/autoload.php'
Do you mean to suggest that I must add every class I define to autoload.php? That's pretty onerous, don't you think? I'm likely to define dozens of them.

Phil Sturgeon's method sounds similar to what I've done above, only my autoload function is a bit more elaborate -- and my questions still apply (and need answering Big Grin )

I've examined J.J.'s post and it does seem to impart some general knowledge, but I need more detail to make heads or tails of CodeIgniter's basic function.


Messages In This Thread
How to load my classes whenever, wherever without having to include/require them - by El Forum - 05-01-2014, 06:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB