[Zope-dev] The object hierarchy
Mike Pelletier
mike@zopeware.com
Thu, 10 Jun 1999 14:51:16 -0400 (EDT)
On Thu, 10 Jun 1999, Michael Collins wrote:
> I'm trying to navigate around the object hieararchy, and I can find a
> single object's subobjects by using hasattr and so on, but what if I want
> to navigate to a different position in the hieararchy? As far as I can
> tell, objects don't have a pointer to their parent
In fact, they do. It's 'aq_parent'.
Mike.
--
--- | Mike Pelletier Work: 519-746-1607
/opeware! | Software Developer Home: 519-725-7710
--- | mike@zopeware.com Fax: 519-746-7566
http://www.zopeware.com | Zopeware is not endorsed by Digital Creations