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

def zope-kupu-1.1.1::plone::plonelibrarytool::PloneKupuLibraryTool::zmi_add_resource_type (   self,
  resource_type,
  portal_types,
  REQUEST 
)

Add resource type through the ZMI

Definition at line 148 of file plonelibrarytool.py.

00148                                                                          :
        """Add resource type through the ZMI"""
        self.addResourceType(resource_type, portal_types)
        REQUEST.RESPONSE.redirect(self.absolute_url() + '/zmi_resource_types')

    security.declareProtected(permissions.ManageLibraries,
                              "zmi_update_resource_types")


Generated by  Doxygen 1.6.0   Back to index