Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(3) | Call(1) | Derive(0) | Import(2)
src/p/r/Products.AttachmentTypes-1.6/Products/AttachmentTypes/kss/views.py Products.AttachmentTypes(Download)
from plone.app.layout.globals.interfaces import IViewView from Products.AttachmentTypes.utils import getAttachments, getImages, getLinks class DynamicAttachments(PloneKSSView):
def getImagesHTML(self): return self.context.widget_images_list(images=getImages(self.context)) def getLinksHTML(self): return self.context.widget_links_list(links=getLinks(self.context))
src/p/r/Products.AttachmentTypes-1.6/Products/AttachmentTypes/widget/images.py Products.AttachmentTypes(Download)
from AccessControl import ClassSecurityInfo from Products.Archetypes.Widget import TypesWidget from Products.Archetypes.Registry import registerWidget from Products.AttachmentTypes.utils import getImages