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

All Samples(195)  |  Call(105)  |  Derive(0)  |  Import(90)

src/e/r/erp5-HEAD/product/ERP5/Interaction.py   erp5(Download)
            return self.manage_variables(REQUEST, 'Variables changed.')
 
Globals.InitializeClass(InteractionDefinition)
 
 
            return self.manage_main(REQUEST, 'Interaction(s) removed.')
 
Globals.InitializeClass(Interaction)
 

src/e/r/erp5-HEAD/product/ERP5Form/Tool/SelectionTool.py   erp5(Download)
 
from OFS.SimpleItem import SimpleItem
from Products.ERP5Type.Globals import InitializeClass, DTMLFile, PersistentMapping, get_request
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Tool.BaseTool import BaseTool
      return container
 
InitializeClass( SelectionTool )
 
class BaseContainer(object):

src/e/r/erp5-HEAD/product/ERP5Form/ScribusUtils.py   erp5(Download)
from xml.dom import Node, minidom
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Globals import InitializeClass, get_request
from zipfile import ZipFile, ZIP_DEFLATED
from StringIO import StringIO
    return file_descriptor.open('r')
 
InitializeClass(ScribusParser)
allow_class(ScribusParser)  
 
InitializeClass(ManageCSS)
allow_class(ManageCSS)
 
InitializeClass(ManageFiles)
allow_class(ManageFiles)
 
InitializeClass(ManageModule)
allow_class(ManageModule)
 

src/e/r/erp5-HEAD/product/ERP5/Tool/IdTool.py   erp5(Download)
from Acquisition import aq_base
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Globals import InitializeClass, DTMLFile, PersistentMapping
from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type.Cache import caching_instance_method
                (stored_last_id, id_group, last_id))
 
InitializeClass(IdTool)
 

src/e/r/erp5-HEAD/product/ERP5Type/TranslationProviderBase.py   erp5(Download)
#
##############################################################################
from Products.ERP5Type.Globals import InitializeClass
from AccessControl import ClassSecurityInfo
from Permissions import AccessContentsInformation, ManagePortal, \
      resetDynamicDocumentsOnceAtTransactionBoundary()
 
InitializeClass(TranslationProviderBase)
 
class TranslationInformation(SimpleItem):
    self.__dict__.update((k, v or None) for k, v in kw.iteritems())
 
InitializeClass(TranslationInformation)
 

src/e/r/erp5-HEAD/product/ERP5/Tool/SimulationTool.py   erp5(Download)
 
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Globals import InitializeClass, DTMLFile
from Products.ERP5Type import Permissions
from Products.ERP5Type.Tool.BaseTool import BaseTool
      yield x
 
InitializeClass(Sequence)
allow_class(Sequence)
InitializeClass(SequenceItem)
allow_class(SequenceItem)
 
InitializeClass(SimulationTool)

src/e/r/erp5-HEAD/product/ERP5Form/PDFTemplate.py   erp5(Download)
 
from urllib import quote
from Products.ERP5Type.Globals import InitializeClass, PersistentMapping, DTMLFile, get_request
from AccessControl import Unauthorized, getSecurityManager, ClassSecurityInfo
import urllib2
 
 
InitializeClass(PDFTemplate)
 
class FSPDFTemplate(FSPageTemplate, PDFTemplate):
      return PDFTemplate.__call__(self, *args, **kwargs)
 
InitializeClass(FSPDFTemplate)
 
registerFileExtension('pdft', FSPDFTemplate)

src/e/r/erp5-HEAD/product/ERP5OOo/OOoTemplate.py   erp5(Download)
from Products.ERP5Type import PropertySheet
from urllib import quote
from Products.ERP5Type.Globals import InitializeClass, DTMLFile, get_request
from Products.ERP5Type.Globals import DevelopmentMode
from Acquisition import aq_base
    return self.getProperty('filename')
 
InitializeClass(OOoTemplate)
 
class FSOOoTemplate(FSPageTemplate, OOoTemplate):
    return OOoTemplate.__call__(self, *args, **kwargs)
 
InitializeClass(FSOOoTemplate)
 
registerFileExtension('ooot', FSOOoTemplate)

src/e/r/erp5-HEAD/product/ERP5Form/Selection.py   erp5(Download)
##############################################################################
 
from Products.ERP5Type.Globals import InitializeClass, Persistent
import Acquisition
from Acquisition import aq_base
        return md5(repr(dict([(k, v) for k, v in self.__dict__.iteritems() if k != 'index']))).hexdigest()
 
InitializeClass(Selection)
allow_class(Selection)
 
    pass
 
InitializeClass(DomainSelection)
allow_class(DomainSelection)
 

src/e/r/erp5-HEAD/product/ERP5TioSafe/Tool/IntegrationTool.py   erp5(Download)
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Globals import InitializeClass, DTMLFile
from Products.ERP5 import _dtmldir
from Products.ERP5Type import Permissions
from Products.ERP5Type.Tool.BaseTool import BaseTool
 
 
InitializeClass(IntegrationTool)
 
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next