The "depth reduction routine" you are using is fine, although perhaps
this is simpler (I think only for Cake1.2):
$dataR = Set::extract($data, "{n}.Contact");The reason you have the extra "Contact" keys in there is because findAll returns the same data structure even if there are associated models - in which case it is important to separate what is Contact data, and what is other model data. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
