Saturday, January 16, 2010

Re: how to call Model1->find("all") from Model2 Controller

$this->loadModel('Project');
$this->Project->find('all');

On Jan 16, 2:13 am, codef0rmer <amit.2006...@gmail.com> wrote:
> I want to call Project->find("all") from UserController. I tried with
> $this->Product->find("all") as well as Product::find("all"). but no
> luck
>
> Is there any other option?

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate