[Zope3-dev] manage_beforeDelete

maxm maxm@mxm.dk
Fri, 31 Jan 2003 12:25:54 +0100


Florent Guillaume wrote:

> I propose one of:
>   - notify_beforeDelete (which I prefer)
>   - hook_beforeDelete


I think that hook_beforeDelete is more precise. A hook is usually 
called, or can be left as a stub.

notify_beforeDelete doesn't convey if it is something *you* should call 
before deleting, or if it is something that *is* called.

regards Max M