Testing for the class of a ZInstance (was: Re: [Zope] (no subject))

Dieter Maurer dieter@handshake.de
Mon, 6 Jan 2003 19:49:47 +0100


Please provide useful subject information!

Patrick Stinson wrote at 2003-1-3 19:33 -0900:
 > how can you test whether an ZObject is an instance of a certain ZClass?
You provide a useful "meta type" for the ZClass (e.g. I should be unique)
and tests the Z Instance's "meta_type" attribute against that of
your ZClass.


Dieter