[Zope] Getting metatype information

Dieter Maurer dieter@handshake.de
Tue, 4 Mar 2003 19:56:57 +0100


Fearless Froggie wrote at 2003-3-3 16:23 -0800:
 > If I have an address such as the following:
 > 
 > an_address = context.REQUEST['URL2']
 > 
 > How would I get the metatype of the object

You get the object with "getattr" and then its "meta_type" attribute.

"getattr" is an FAQ.


Dieter