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

def zope-kupu-1.1.1::plone::librarytool::KupuLibraryTool::queryPortalTypesForResourceType (   self,
  resource_type,
  default = None 
)

See IResourceTypeMapper

Definition at line 115 of file librarytool.py.

00115                                                                           :
        """See IResourceTypeMapper"""
        if not self._res_types.has_key(resource_type):
            return default
        return self._res_types[resource_type][:]

    def addResourceType(self, resource_type, portal_types):


Generated by  Doxygen 1.6.0   Back to index