mò á¸Ec@sPdZdklZdklZdefd„ƒYZdefd„ƒYZdS(sSAcquisition z3 interfaces. $Id: interfaces.py 30602 2005-06-02 11:24:21Z yuppie $ (s Attribute(s Interfacet IAcquirercBstZdZd„ZRS(s(Acquire attributes from containers. cCsdS(s%Get the object in a context. N((tcontext((t5/data/zmath/zope/lib/python/Acquisition/interfaces.pyt__of__s(t__name__t __module__t__doc__R(((RRs tIAcquisitionWrappercBsntZdZeeeddd„Zdd„ZedƒZedƒZ edƒZ edƒZ ed ƒZ RS( s$Wrapper object for acquisition. icCsdS(s5Get an attribute, acquiring it if necessary. N((tnametfiltertextratexplicittdefaultt containment((Rt aq_acquire%sicCsdS(sMTest whether the object is currently in the context of the argument. N((tobjtinner((Rtaq_inContextOf*ssGet the object unwrapped.sGet the parent of an object.s2Get the object with the outermost wrapper removed.s:Get the object with all but the innermost wrapper removed.s5Get a list of objects in the acquisition environment.( RRRtNonetTrueRRt Attributetaq_baset aq_parenttaq_selftaq_innertaq_chain(((RR s      N(Rtzope.interfaceRt InterfaceRR(RRRR((Rt?s