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

def AttachmentField::OOAttachment::OOAttachment::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 88 of file OOAttachment.py.

00088                                                 :
        """
        getIndexableValue(self, field, instance) => (possibliy big) string
        Return the ZCatalog-indexable string for that type.
        """
        Log(LOG_DEBUG, "getIndexableValue")
        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