Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module Filters :: Class Filter |
|
MaxLen
,
Pager
,
ReplaceNone
,
Strip
,
StripSqueeze
,
WebSafe
A baseclass for the Cheetah Filters.
Method Summary | |
---|---|
Setup a ref to the templateObj. | |
Replace None with an empty string. | |
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 |
---|
__init__(self,
templateObj=<lemon.external.Cheetah.Filters.DummyTemplate instance at...)
|
filter(self, val, **kw)Replace None with an empty string. Reimplement this method if you want more advanced filterting. |
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. See the 'Pager' filter class for an example. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:00 2003 | http://epydoc.sf.net |