Hello everyone.

I've asked similar Q's before but not found the right solution yet.
When retrieving HABTM data a $this->That->findAll() works fine in the
controller.

BUT, if I use a function in the model it wont get the HABTM data:
return $this->findAll($conditions, $fields, $order, $limit, null, 2) it
wont work! I've tried various changes to recursive but no joy.

Am i doing something wrong. I've resorted to custom queries to get the
data i want. I'm using it as part of an Ajax search feature so the data
returned at various stages needs to be pretty specific.

Hope that all make sense

Thanks

TWIOF


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to