Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
PortalTransforms.transforms.broken.BrokenTransform Class Reference
Collaboration diagram for PortalTransforms.transforms.broken.BrokenTransform:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def name
def convert

Public Attributes

 id
 module
 error

Static Public Attributes

tuple inputs = ("BROKEN",)
string output = "BROKEN"

Static Private Attributes

 __implements__ = itransform
string __name__ = "broken transform"

Detailed Description

Definition at line 5 of file broken.py.


Constructor & Destructor Documentation

def PortalTransforms.transforms.broken.BrokenTransform.__init__ (   self,
  id,
  module,
  error 
)

Definition at line 12 of file broken.py.

00012 
00013     def __init__(self, id, module, error):
00014         self.id = id
00015         self.module = module
00016         self.error = error


Member Function Documentation

def PortalTransforms.transforms.broken.BrokenTransform.convert (   self,
  orig,
  data,
  kwargs 
)

Definition at line 20 of file broken.py.

00020 
00021     def convert(self, orig, data, **kwargs):
00022         # do the format
00023         msg = "Calling convert on BROKEN transform %s (%s). Error: %s" % \
00024               (self.id, self.module, self.error)
00025         log(msg, severity=WARNING)
00026         print msg
00027         data.setData('')
00028         return data

Definition at line 17 of file broken.py.

00017 
00018     def name(self):
00019         return self.__name__

Here is the caller graph for this function:


Member Data Documentation

Definition at line 6 of file broken.py.

string PortalTransforms.transforms.broken.BrokenTransform.__name__ = "broken transform" [static, private]

Definition at line 8 of file broken.py.

Definition at line 15 of file broken.py.

Definition at line 13 of file broken.py.

Definition at line 9 of file broken.py.

Definition at line 14 of file broken.py.

Definition at line 10 of file broken.py.


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