Package lemon :: Package external :: Package Cheetah :: Module Filters :: Class ReplaceNone
[show private | hide private]
[frames | no frames]

Class ReplaceNone

Filter --+
         |
        ReplaceNone


Method Summary
  filter(self, val, **kw)
Replace None with an empty string.
    Inherited from Filter
  __init__(self, templateObj)
Setup a ref to the templateObj.
  generateAutoArgs(self)
This hook allows the filters to generate an arg-list that will be appended to the arg-list of a $placeholder tag when it is being translated into Python code during the template compilation process.

Method Details

filter(self, val, **kw)

Replace None with an empty string.  Reimplement this method if you
want more advanced filterting.
Overrides:
lemon.external.Cheetah.Filters.Filter.filter

Generated by Epydoc 2.0 on Mon Nov 10 15:07:58 2003 http://epydoc.sf.net