Welcome Guest, Not a member yet? Register   Sign In
Extending custom libraries
#2

[eluser]WanWizard[/eluser]
No, CI doesn't support non-singleton objects.

You can work around it by loading them using $this->load->model(), deleting the $CI->modelname property created (if required), and then use new to create new objects. Or use include(). Or create an autoload method.


Messages In This Thread
Extending custom libraries - by El Forum - 11-08-2010, 02:33 PM
Extending custom libraries - by El Forum - 11-08-2010, 03:36 PM
Extending custom libraries - by El Forum - 11-08-2010, 05:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB