[eluser]The Mask[/eluser]
Hi,
I am a little confused about how Codeigniter instantiates models. Is there some good documentation about this anywhere?
E.g. If I have a class called ‘dog’, I would use Codeigniter like…
$this->load->model( ‘Dog’, ‘’, TRUE );
$this->Dog->method() or $this->Dog->property
But I would have expected:
$myDog = new Dog();
$myDog->method();
$anotherDog = new Dog();
$anotherDog->property
So when does the instantiation work using Codeigniter and what would I do if I wanted a number of Dog() objects?
Thanks