[Zope-dev] Quick request! :)

Kevin Dangoor kid@kendermedia.com
Fri, 18 Feb 2000 20:21:43 -0500


----- Original Message -----
From: "Bill Anderson" <bill.anderson@libc.org>
To: "Zope-Dev" <zope-dev@zope.org>
Sent: Friday, February 18, 2000 7:47 PM
Subject: [Zope-dev] Quick request! :)


> I need to do this:
> "PARENTS[0].objectValues('Foo Object')"
> in python.

Wouldn't this just be:

self.objectValues('Foo Object')

?

> OK, another one. I think I know the answer, bur calrification is nice :)
> If in a ZClass I am subclassing from ObjectManager, how would I subclass
> that in python?

Not sure on this one. It's probably just class YourClass(ObjectManager), but
I'm not sure where you import that from. (You might take a look in
lib/python/OFS for hints).

> Close to a release of a new toy ... :)

Toys are good :)

Kevin