Sorry to bother.
got it after all.
var $paginate = array(
'limit' =>10,
'contain' => array(...
.
.
)))
);
Dave
_
From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com]
Sent: June-19-09 9:55 AM
To: cake-php@googleg
On Fri, June 19, 2009 1:24 pm, Dave Maharaj :: WidePixels.com wrote:
> I have a search function built based off the hoc_joins tutorial by Nate
> inthe Bakery.
>
> Now the search runs fine searching thru 2 associated HABTM tables matching
> up items the user selects.
>
> My last line is :
> $data
I have a search function built based off the hoc_joins tutorial by Nate
inthe Bakery.
Now the search runs fine searching thru 2 associated HABTM tables matching
up items the user selects.
My last line is :
$data = $this->paginate('Post', array('Post.id' => $posts));
but that is pulling model