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

Class MaxLen

Filter --+
         |
        MaxLen


Method Summary
  filter(self, val, **kw)
Replace None with '' and cut off at maxlen.
    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 '' and cut off at maxlen.
Overrides:
lemon.external.Cheetah.Filters.Filter.filter

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