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

def zope-kupu-1.1.1::plone::librarytool::KupuLibraryTool::updateResourceTypes (   self,

See IResourceTypeMapper

Definition at line 126 of file librarytool.py.

00126                                             :
        """See IResourceTypeMapper"""
        type_map = self._res_types
        for type in type_info:
            del type_map[type['old_type']]
            portal_types = [ptype.strip() for ptype
                            in type['portal_types'] if ptype]
            type_map[type['resource_type']] = tuple(portal_types)

    def deleteResourceTypes(self, resource_types):

Generated by  Doxygen 1.6.0   Back to index