Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
PortalTransforms.tests.test_engine.FooToBar Class Reference
Inheritance diagram for PortalTransforms.tests.test_engine.FooToBar:
Inheritance graph
Collaboration diagram for PortalTransforms.tests.test_engine.FooToBar:
Collaboration graph

List of all members.

Public Member Functions

def __call__
def convert
def name

Static Public Attributes

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

Static Private Attributes

 __implements__ = itransform

Detailed Description

Definition at line 35 of file

Member Function Documentation

def PortalTransforms.tests.test_engine.FooToBar.__call__ (   self,

Definition at line 40 of file

00041     def __call__(self, orig, **kwargs):
00042         orig = re.sub('foo', 'bar', orig)
00043         return urllib.unquote(re.sub('\n+', '\n', orig)).strip()

Here is the call graph for this function:

Here is the caller graph for this function:

def PortalTransforms.tests.test_engine.FooToBar.convert (   self,

Definition at line 44 of file

00045     def convert(self, orig, data, **kwargs):
00046         orig = self.__call__(orig)
00047         data.setData(orig)
00048         return data

Here is the caller graph for this function:

Definition at line 14 of file

00015     def name(self):
00016         return getattr(self, '__name__', self.__class__.__name__)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 36 of file

Definition at line 37 of file

Definition at line 38 of file

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