hasAndBelongsToMany Question
Hello,
So in my app I have Patients and I have Groups and each Patient can be
in many Groups and each group can have many patients. That's fine.
I've got the multi-select setup on the View and that works fine too.
However, I need to make some API calls in my controller when a Patient
is edited.
And so I need to find out what changes where just made by the user to
their Group associations.
Ie. Add this Patient to this Group and delete from that Group.
Is there an obvious way to get this info that I'm missing?
Just can't figure it out.
Thanks for your help.
- Leon
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home