[Zope] ZClass and class variable

Loren Stafford lstafford@icompression.com
Mon, 5 Jun 2000 10:21:28 -0700


Yes, if what you need is a variable shared by all instances of the class.
You need to use a property sheet.

The "How-To" http://www.zope.org/Members/lstaffor/zProperties might help
answer this question, though it speaks more about instance variables.

-- Loren

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Francois-Regis CHALAOUX
> Sent: Monday, June 05, 2000 09:12
> To: Receipt Notification Requested
> Subject: [Zope] ZClass and class variable
> Sensitivity: Personal
>
>
> Hi all,
>
> Is it possible to declare a class variable in a Zclass?
> And if yes, how to call this variable in class ZClass methodes?
>
> Bye, FR.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>