So I looked at the cake source, and it looks as though the del method
calls __deletehasmany rather than recursively calling del on the
various objects.  So I am guess that in order to do what I want I
should just put something in my beforeDelete().

Correct me if I am wrong,
Thanks,
-=Josh

On Feb 18, 3:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have a 4 nested models and all of their hasMany relationships are
> dependent.  If I delete the root should I expect the cascade to delete
> all the way to the leaf nodes?  That is what I am trying to achieve,
> so before I handle it myself I was wondering if there was something
> easy that i might be missing, or if that is not the intention of the
> cascade parameter.
>
> Thanks,
> -=Josh


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

Reply via email to