Re: Is del() recursive?

2006-07-17 Thread Scott Sharkey
nate wrote: > Only if the 'dependent' association key is set to true, i.e.: > > class Post extends AppModel { > >var $hasMany = array( >'Comment' => array('dependent' => true) > ); > } Nate: I asked almost this very same question about a week ago. What about HABTM relationship

Re: Is del() recursive?

2006-07-17 Thread ShepherdWeb
That makes sense. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTEC

Re: Is del() recursive?

2006-07-16 Thread nate
Only if the 'dependent' association key is set to true, i.e.: class Post extends AppModel { var $hasMany = array( 'Comment' => array('dependent' => true) ); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Is del() recursive?

2006-07-16 Thread ShepherdWeb
Is $this->Model->del($id); supposed to be recursive to hasMany relationships? I seem to be getting inconsistent results. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send