Welcome Guest, Not a member yet? Register   Sign In
Library class loaded, but I can't access it from a model??
#4

[eluser]simshaun[/eluser]
You are correct that CI loads the library into a singleton.

Not sure why jalalski is initiating the factory like that.
It would work I suppose, but is not the "CI" way of doing it.

One thing that comes to mind that you can try is this in your controller
Code:
$this->Factory->getUser('DS_Admin');
// instead of $this->factory->getUser('DS_Admin');


Messages In This Thread
Library class loaded, but I can't access it from a model?? - by El Forum - 01-05-2009, 02:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB