As nate pointed out you can use Model behaviours to achieve this:

http://api.cakephp.org/1.2/classModelBehavior.html

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Jon Bennett
Enviado el: MiƩrcoles, 07 de Febrero de 2007 03:05 p.m.
Para: [email protected]
Asunto: Re: softDelete, would anyone find useful enough....

as you'll most likely want to do this on a model basis (eg, one Model
would not want both delete and soft delete), just change the deletes
in those controllers to softDelete()


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