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

All Samples(69)  |  Call(35)  |  Derive(1)  |  Import(33)

src/p/r/Products.WorkflowField-0.1b1/Products/WorkflowField/_field.py   Products.WorkflowField(Download)
from Products.Archetypes.atapi import Field
from Products.Archetypes.atapi import DisplayList
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes.Registry import registerField
from Products.CMFCore.utils import getToolByName
    def getVocabularyDict(self, instance):
        items = self._getItems(instance)
        return OrderedDict(items)
 
    def _getItems(self, instance):

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/Schema/__init__.py   Products.Archetypes(Download)
from Products.Archetypes.interfaces.schema import ISchema, ISchemata, \
     IManagedSchema
from Products.Archetypes.utils import OrderedDict, mapply, shasattr
from Products.Archetypes.mimetype_utils import getDefaultContentType
from Products.Archetypes.exceptions import SchemaException
 
    schema = obj.Schema()
    schemata = OrderedDict()
    for f in schema.fields():
        sub = schemata.get(f.schemata, WrappedSchemata(name=f.schemata))

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/Schema/__init__.py   Products.Archetypes(Download)
from Products.Archetypes.interfaces.schema import ISchema, ISchemata, \
     IManagedSchema
from Products.Archetypes.utils import OrderedDict, mapply, shasattr
from Products.Archetypes.mimetype_utils import getDefaultContentType
from Products.Archetypes.exceptions import SchemaException
 
    schema = obj.Schema()
    schemata = OrderedDict()
    for f in schema.fields():
        sub = schemata.get(f.schemata, WrappedSchemata(name=f.schemata))

src/p/r/Products.ATVocabularyManager-1.6.6/Products/ATVocabularyManager/types/simple/vocabulary.py   Products.ATVocabularyManager(Download)
from Products.Archetypes.utils import make_uuid
from Products.Archetypes.utils import DisplayList
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes import PloneMessageFactory as PMF
 
        else:
            # just return all terms
            vdict = OrderedDict()
            for obj in self.contentValues():
                vdict[obj.getTermKey()] = obj.getTermValue()
            return vdict
 
    def _getTranslatedVocabularyDict(self, lang):
        vdict = OrderedDict()

src/p/r/Products.ATVocabularyManager-HEAD/Products/ATVocabularyManager/types/simple/vocabulary.py   Products.ATVocabularyManager(Download)
from Products.Archetypes.utils import make_uuid
from Products.Archetypes.utils import DisplayList
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes import PloneMessageFactory as PMF
 
        else:
            # just return all terms
            vdict = OrderedDict()
            for obj in self.contentValues():
                vdict[obj.getTermKey()] = obj.getTermValue()
            return vdict
 
    def _getTranslatedVocabularyDict(self, lang):
        vdict = OrderedDict()

src/p/r/Products.ATVocabularyManager-1.6.6/Products/ATVocabularyManager/types/tree/vocabulary.py   Products.ATVocabularyManager(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.utils import base_hasattr
from Products.Archetypes.utils import OrderedDict
try:
    from Products.Archetypes.lib.vocabulary import DisplayList
        are used.
        """
        vdict = OrderedDict()
 
        for obj in self.contentValues():
    def _getUntranslatedVocabularyDict(self):
        """returns a vocabulary dictionary as defined in the interface
        """
        vdict = OrderedDict()
 

src/p/r/Products.PloneFormGen-1.7.14/Products/PloneFormGen/content/formMailerAdapter.py   Products.PloneFormGen(Download)
 
from Products.Archetypes.public import *
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes.utils import shasattr
 
            to = to_addr or '%s %s' % (recip_name, recip_email)
 
        headerinfo = OrderedDict()
 
        headerinfo['To'] = self.secure_header_line(to)

src/p/r/Products.ATVocabularyManager-HEAD/Products/ATVocabularyManager/types/tree/vocabulary.py   Products.ATVocabularyManager(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.utils import base_hasattr
from Products.Archetypes.utils import OrderedDict
try:
    from Products.Archetypes.lib.vocabulary import DisplayList
        are used.
        """
        vdict = OrderedDict()
 
        for obj in self.contentValues():
    def _getUntranslatedVocabularyDict(self):
        """returns a vocabulary dictionary as defined in the interface
        """
        vdict = OrderedDict()
 

src/p/r/Products.ATSchemaEditorNG-0.6/Products/ATSchemaEditorNG/config.py   Products.ATSchemaEditorNG(Download)
from Products.Archetypes.Storage import *
from Products.Archetypes.Storage import MetadataStorage
from Products.Archetypes.utils import OrderedDict, shasattr
 
from util import LOG, INFO, log
 
# init routines for field,widget and storage management
field_registry = OrderedDict()
widget_registry = OrderedDict()
storage_registry = OrderedDict()

src/p/r/Products.PloneFormGen-HEAD/Products/PloneFormGen/content/formMailerAdapter.py   Products.PloneFormGen(Download)
 
from Products.Archetypes.public import *
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes.utils import shasattr
 
            to = to_addr or '%s %s' % (recip_name, recip_email)
 
        headerinfo = OrderedDict()
 
        headerinfo['To'] = self.secure_header_line(to)

  1 | 2 | 3 | 4  Next