> I have just looked through Jon's code for softDeleting and am now even > more in favor of this functionality going into the core. > > My PHP knowledge and my Cake knowledge are not good enough to be able to > implement what Jon has done. Certainly not without a couple of weeks > work.
I can't really take credit for it - it's basically a variant of the existing delete methods, which was why I originally suggested adding this to the core, as it would only require 1 change to the 'conventions' and one addition to the del methods params (so it won't cause any conflicts with existing code) > This is definitely the sort of functionality that I would not like to have > to re-implement in every project. well, you don't, do once, and add to your app_model - I always have unbindAll (and now softDelete) in my app_model when i start. cheers, jon -- 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 [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 -~----------~----~----~----~------~----~------~--~---
