[Zope] Access object's class name (rather than meta_type)

Jon Whitener wmmail@twmi.rr.com
Fri, 21 Feb 2003 17:40:52 -0500


Is there a way from Python to find objects according to their *class* 
name instead of by their meta_type?

Whereas it is easy to find objects by meta_type, e.g.

   list = context.objectValues('Page Template')

I need isntead to find them by the class name, i.e. the name that 
appears when you show a list of Zope objects, e.g. ZopePageTemplate in

   "<ZopePageTemplate at /foo/theTemplate>"

Thanks in advance,
Jon Whitener
Detroit Michigan USA