> I definitely have the use for this functionality in 2 of my current
> projects. Although, I only need to perform the soft delete on certain
> tables, and not everywhere. What would be the best way to make this
> functionality modular so I can quickly and easily utilize either a
> soft or hard delete within my controller?

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()

unless you're after a more automatic setup (given the nature of
deletion, that might be a bad idea!).

jon
ps: glad to help out btw!

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to