Tuesday, December 2, 2008

delete HATBM relation

Hi,

I'd like to delete HATBM relation between a Person and a Contract.
The HATBM relationship is declared in the Person model and works fine
for retreiving the right person with all its contracts for example.
How should I submit things to my controller method in term of
data[ ? ] to just delete the relationship keeping contract ?
I don't understand how to structure the data array on the client side
(view).

Thanks !

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: