[Zope] constructors and destructors
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Wed, 5 Dec 2001 12:10:41 +0300
On Wed, Dec 05, 2001 at 04:06:37PM +0800, Roman Bogoyev wrote:
> OK. Now if I wish to use the zope management interface to
> delete my object ie: one of the 'cut' or 'delete' buttons,
> how do I call a 'destructor' method to get rid of my database
> entry associated with that object?
Define "manage_beforeDelete" method. Zope will call it.
(Russian? Can read/write russian cyrillic?)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.