Re: Model within Model

2007-09-25 Thread Dr. Tarique Sani
if the model you are trying to access is an associated model then $this->Othermodel->method() will work If not what you are trying to do is not recommended practice but if you insist you can take a look at loadModel(); There was a discussion on this last week Cheers T On 9/25/07, Ziad <[EM

Model within Model

2007-09-25 Thread Ziad
Hi all, I did some searching for this but could not find anything. Is there a way for me to get access to other models from within a model? What I want to do is have my own function inside one of my models that needs access to another model. How can this be achieved? So something like the $uses i