Thanks for replies,  appologies for the multiple posting.

> Well, you can just use the public method `public Model::delete($id =
> null, $cascade = true)`, which will call `protected
> _Model::_deleteDependent($id, $cascade)

The behaviour is skipping delete in favor of making the record as
deleted = 1 so that records can be un-deleted or whatever.    so i
don't think i can call delete.


> Why declaring a function protected if you want to use it outside of
> descendant classes.

I'm not: the method is in the core.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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