On Nov 12, 1:08 pm, senser <[EMAIL PROTECTED]> wrote: > @R. Rajesh Jeba Anbiah - thanks for this direction. It;s very useful, > nut I still can't figure out my wonder. > > Let's say we have two tables (models) - "A" & "B" with associations: > "A" hasMany "B" > "B" belongsTo "A" > And we are searching with criteria for table "A" (for example "A.id>5"). If > we search through model "A" with something like "$this->A- >findAll($query, null, null, null, null, 2)" Cake doesn't recursively <snip>
I think, you can use $this->A->read($id) which I think will give you what you wanted if you adjust $this->A->recursive -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
