[Zope] What does context.registerBaseClass() do ???
Chris McDonough
chrism@digicool.com
Thu, 24 Aug 2000 17:04:29 -0400
This should be used in the initialize() routine of your product. It
initializes the class passed in so it may be use as a base class for
ZClasses in your Zope instance. It takes a single class object as an
argument. An example __init__.py:
import Foo
def initialize(context):
context.registerBaseClass(Foo)
> -----Original Message-----
> From: Daniel Rusch [mailto:drusch@globalcrossing.com]
> Sent: Thursday, August 24, 2000 4:56 PM
> To: zope@zope.org
> Subject: [Zope] What does context.registerBaseClass() do ???
>
>
> I have searched the FM's and I cannot find anything on
> context.registerBaseClass(). Can anyone explain what this does for me
> and what the syntax of the argument list should be?????
>
> Thanks,
>
> Dan
>
> _______________________________________________
> 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 )
>