Nice one :-)
I think before and after hooks would be good. With beforeXXX() for could cancel the operation, that in beforeDelete() could stop delete() being executed. 2009/6/2 Blair McKenzie <[email protected]> > You might be interested in these changes coming up in 5.2: > http://docs.farcrycms.org/display/FCDEV50/Event+hooks. > > Blair > > > On Tue, Jun 2, 2009 at 2:17 PM, AJ Mercer <[email protected]> wrote: > >> a Type has beforeSave() and afterSave() >> is there a beforeDelete()? >> >> If not, I guess I will create my one delete() and have it call >> super.delete() >> >> -- >> AJ Mercer >> Web Log: http://webonix.net >> >> >> > > > > -- AJ Mercer Web Log: http://webonix.net --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
