Logo Search packages:      
Sourcecode: zope-cmfquickinstallertool version File versions  Download package

def CMFQuickInstallerTool::InstalledProduct::InstalledProduct::_getMethod (   self,
  modfunc 
) [private]

Returns a method

Definition at line 195 of file InstalledProduct.py.

00195                                  :
        """Returns a method
        """
        try:
            productInCP = self.Control_Panel.Products[self.id]
        except KeyError:
            return None

        for mod, func in modfunc:
            if mod in productInCP.objectIds():
                modFolder = productInCP[mod]
                if func in modFolder.objectIds():
                    return modFolder[func]

            try:
                return ExternalMethod('temp','temp',self.id+'.'+mod, func)
            except:
                pass

        return None

    security.declareProtected(ManagePortal, 'getInstallMethod')
    def getInstallMethod(self):


Generated by  Doxygen 1.6.0   Back to index