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

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

Return a list of the content types this tool is able to handle.
This is quite ellaborated because we need to return only transformations with
text/html output or pure text output.

Reimplemented from AttachmentField::AttachmentHandler::AbstractHandler.

Definition at line 136 of file PortalTransformsAttachment.py.

00136                                               :
        """Return a list of the content types this tool is able to handle.
        This is quite ellaborated because we need to return only transformations with
        text/html output or pure text output.
        """
        return self.getTransforms(field, instance, )['all_mimes']

    def getIndexableValue(self, field, instance):


Generated by  Doxygen 1.6.0   Back to index