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

def zope-kupu-1.1.1::plone::librarytool::KupuLibraryTool::addResourceType (   self,
  resource_type,
  portal_types 
)

See IResourceTypeMapper

Definition at line 121 of file librarytool.py.

00121                                                           :
        """See IResourceTypeMapper"""
        portal_types = [ptype.strip() for ptype in portal_types if ptype]
        self._res_types[resource_type] = tuple(portal_types)

    def updateResourceTypes(self, type_info):


Generated by  Doxygen 1.6.0   Back to index