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:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 4:56 PM
> To: [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
> 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 )
> 

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to