[eluser]jedd[/eluser]
[quote author="victorpy" date="1239340320"]So if i add the line $CI = &get;_instance() before and use $CI->load.... i could call any of them, anywhere in the code... [/quote]
In effect, yes. Note that if you are using a database, there's a lot to be said for loading the database class in
config/autoload.cfg rather than in each function (or indeed in each controller).
Quote:mmm... not documented? or i am a lazy reader haha
The CI User Manual maintains brevity, but contains [url="http://ellislab.com/codeigniter/user-guide/general/creating_libraries.html"]everything you need[/url].