Welcome Guest, Not a member yet? Register   Sign In
How can I get multiple instance of class?
#3

[eluser]Grahack[/eluser]
If you're talking about a model...

From the docs:

Quote:If you would like your model assigned to a different object name you can specify it via the second parameter of the loading function:
Code:
$this->load->model('Model_name', 'fubar');

$this->fubar->function();


Messages In This Thread
How can I get multiple instance of class? - by El Forum - 12-07-2007, 11:02 PM
How can I get multiple instance of class? - by El Forum - 12-08-2007, 02:12 AM
How can I get multiple instance of class? - by El Forum - 12-08-2007, 03:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB