How can I get multiple instance of class? |
[eluser]tonanbarbarian[/eluser]
if you are talking about multiple instances of a library then load the library the first time, which loads the class file, then create as many other instances as you need Code: ... You should also be able to do something similar with model, but not sure about controllers
[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: |
Welcome Guest, Not a member yet? Register Sign In |