Welcome Guest, Not a member yet? Register   Sign In
Model singleton
#2

[eluser]Jondolar[/eluser]
You load a model like this:
$this->load->model('Model_name');

You access it like this:
$this->Model_name->function();

Not really an opportunity to load and access more than one instance. There may be a way around this but I haven't investigates.


Messages In This Thread
Model singleton - by El Forum - 05-25-2009, 08:59 AM
Model singleton - by El Forum - 05-25-2009, 11:16 AM
Model singleton - by El Forum - 05-25-2009, 11:18 AM
Model singleton - by El Forum - 05-25-2009, 02:54 PM
Model singleton - by El Forum - 05-25-2009, 03:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB