I am back into this problem once more. (are we the only two people on
the planet that are working on these things?) Last time I did something
similar to what you describe here and it worked fine since I only had
one relevant controller and action. However I imagine this
functionality really should be part of the model.

Possibly:
$this->Reference->dropAssoc('id or array of ids?');
$this->Reference->addAssoc('id or array of ids?');

This time I find that I need to update a HABTM relationship from all
over my application. That is why I really feel the need to have this in
the model.

When I get some kind of method for my model going I'll post it in case
anyone cares to review it. And as always any code to help me along
would be nice ;)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to