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

def AttachmentField::PortalTransformsAttachment::PortalTransformsAttachment::getIndexableValue (   self,
  field,
  instance 
)

getIndexableValue(self, field, instance) => (possibliy big) string
Return the ZCatalog-indexable string for that type.

Reimplemented from AttachmentField::AttachmentHandler::AbstractHandler.

Definition at line 143 of file PortalTransformsAttachment.py.

00143                                                 :
        """
        getIndexableValue(self, field, instance) => (possibliy big) string
        Return the ZCatalog-indexable string for that type.
        """
        content = field.get(instance)
        content_type = field.getContentType(instance)
        return self.convertStringToIndex(content, content_type, instance)

    def getPreview(self, field, instance):


Generated by  Doxygen 1.6.0   Back to index