Take a look at http://book.cakephp.org/view/66/models#deleting-data-516
.  The 'dependent' parameter can also be set in the model association
definition.

Hope that's what you were looking for.
-J.

On Aug 19, 8:52 pm, Marcello <[EMAIL PROTECTED]> wrote:
> i got 2 tables linked by a HABTM relationship
>
> when i delete table record 1 i want to delete the relationship with
> table and the table 2 record as well
> but when i delete from table 2 i want to keep table 1 record
>
> is there any feature in cakephp for cascading in habtm?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to