No... i cannot use hasAndBelongsToMany, since I store additional information in the join table. I've solved this now using more traditional methods, unfortunataly I couldnt find a more cake-compliant solution.
On Jul 10, 11:49 am, AD7six <[EMAIL PROTECTED]> wrote: > On Jul 10, 10:57 am, BoSc <[EMAIL PROTECTED]> wrote: > <snip> > > > Basically, the question comes down to... how can I 'crawl' through the > > $this->data array... and make Cake clear that this contains more than > > 1 record. > > Assuming you have Movie hasAndBelongsToMany Category, if you follow > conventions cake does it for you. you just need a multi select named > Movie.Movie in the view for your Category assigning (or whatever) view > and when you save, the links will get created. Try with scaffolding or > bake or refer to the manual if this pointer isn't sufficient. > > hth, > > AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
