Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/content/folder.py   Products.CMFBibliographyAT(Download)
    def getIdCooker(self):
        bib_tool = getToolByName(self, 'portal_bibliography')
        return bib_tool.getIdCooker(
                   idcooker_id=self.getReferenceIdCookingMethod(),
                   with_disabled=True)
 
        newid = bib_tool.cookReferenceId(ref,
                            idcooker_id=self.getReferenceIdCookingMethod(),
                            use_pid_on_import=self.getUseParserIdsOnImport(),
                            with_disabled=True)
                item = getattr(self, bibref_ofstemp_id)
                bibref_new_id = bib_tool.cookReferenceId(ref=item,
                                idcooker_id=self.getReferenceIdCookingMethod(),
                                with_disabled=True)
                if bibref_new_id != 'nobody1000':