[Zope] ZClass direct variable access
Dieter Maurer
dieter@handshake.de
Mon, 19 Mar 2001 20:54:40 +0100 (CET)
Phill Hugo writes:
> Is there a way to access property sheet variables from a zclass method
> without knowing which property sheet it is contained within.
If you only want to read them:
they are exposed as attributes of the Z Instance, i.e.
you can use "getattr" to access them (as your property is
an expression). For constant access, you could use
the attribute access syntax.
I do not know a way to change properties without the specification
on the property sheet.
Dieter