[Zope] Accessing Class Attributes via a python Base Class

Kevin Howe ap619@chebucto.ns.ca
Tue, 2 Nov 1999 23:58:12 -0400


I am trying to access the Class Attribute values (meta_type, class_icon,
class_id, etc.) from a simple base class by doing the following:

import Aquisition

class myClass:
   def __str__(self):
       meta = self.classMetaType()
       return meta

I've also tried:
    meta = classMetaType()
    return meta

and :
  return self.getClassAttr('meta_type','')

but none of these seem to work. How do you retreive these values?

KH