Logo Search packages:      
Sourcecode: zope-cmfmember version File versions  Download package

def CMFMember::tools::memberdatacontainer::MemberDataContainer::_getMemberInstance (   self  )  [private]

Get an instance of the Member class.  Used for
   extracting default property values, etc.

Definition at line 452 of file memberdatacontainer.py.

00452                                 :
        """Get an instance of the Member class.  Used for
           extracting default property values, etc."""
        if self._defaultMember is None:
            tempFolder = PortalFolder('temp').__of__(self)
            getMemberFactory(tempFolder, self.getTypeName())('cmfmemberdefault')
            self._defaultMember = getattr(tempFolder,'cmfmemberdefault')
            getattr(tempFolder,'cmfmemberdefault').unindexObject()
            # don't store _defaultMember in the catalog
            tempFolder.unindexObject()
            # don't store _defaultMember in the catalog
            self._defaultMember.unindexObject()
        return self._defaultMember

    ## Folderish Methods


Generated by  Doxygen 1.6.0   Back to index