Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
PortalTransforms.transforms.image_to_html.image_to_html Class Reference
Collaboration diagram for PortalTransforms.transforms.image_to_html.image_to_html:
Collaboration graph

List of all members.

Public Member Functions

def name
def convert

Static Public Attributes

tuple inputs = ('image/*', )
string output = 'text/html'

Static Private Attributes

 __implements__ = itransform
string __name__ = "image_to_html"

Detailed Description

Definition at line 3 of file

Member Function Documentation

def PortalTransforms.transforms.image_to_html.image_to_html.convert (   self,

Definition at line 13 of file

00014     def convert(self, data, cache, **kwargs):
00015         imageName = kwargs.get("image")
00016         cache.setData('<img src="%s"/>' %imageName)
00017         return cache

Definition at line 10 of file

00011     def name(self):
00012         return self.__name__

Here is the caller graph for this function:

Member Data Documentation

Definition at line 4 of file

string PortalTransforms.transforms.image_to_html.image_to_html.__name__ = "image_to_html" [static, private]

Definition at line 6 of file

Definition at line 7 of file

Definition at line 8 of file

The documentation for this class was generated from the following file: