cake-php@googlegroups.com
[Top] [All Lists]

Re: Model query for controller to view results

Subject: Re: Model query for controller to view results
From: OldWest
Date: Fri, 21 Jan 2011 00:57:25 -0800 PST
Ok the error is gone now, but for some reason the results are not being effected?

I am calling it like so in my Controller:

function search() {
$this->Plan->recursive = 2; //*** Modified by Jason: Recursion needs to be corrected with better method. ***//
$active = $this->Plan->getActive();
$this->set('plans', $this->paginate());
}

Any ideas why this is not taking hold?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php
<Prev in Thread] Current Thread [Next in Thread>