Logo Search packages:      
Sourcecode: zope-i18nlayer version File versions

def zope-i18nlayer-0.5.5::I18NLayer::I18NLayer::ContainmentMetaType (   self  ) 

returns the configures metatype of this layer

Definition at line 304 of file I18NLayer.py.

00304                                  :
        '''
        returns the configures metatype of this layer
        '''
        try:
            typestool = getToolByName(self, 'portal_types')
            ti=typestool.getTypeInfo(self.ContainmentContentType())
            return ti.Metatype()
        except:
            return self.meta_type


    security.declareProtected(CMFCorePermissions.ModifyPortalContent, 'setContainmentContentType')
    def setContainmentContentType(self, content_type):


Generated by  Doxygen 1.6.0   Back to index