The Soft Deletable behavior has been updated and now also supports string based conditions:
http://bakery.cakephp.org/articles/view/soft-delete-behavior -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 Marcin Domanski aka kabturek Enviado el: Sábado, 24 de Noviembre de 2007 09:33 p.m. Para: Cake PHP Asunto: Re: published/unpublished mode with search conditions Hey, You can look at the Soft Delete behavior as an example - it ads a default condition 'deleted' = 0 to all queries if you don't have a 'delete' key in the conditions. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
