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

Class Pager

Filter --+
         |
        Pager


Method Summary
  __init__(self, templateObj)
Setup a ref to the templateObj.
  buildQString(self, varsDict, updateDict)
  filter(self, val, **kw)
Replace None with '' and cut off at maxlen.
  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

__init__(self, templateObj=<lemon.external.Cheetah.Filters.DummyTemplate instance at...)
(Constructor)

Setup a ref to the templateObj.  Subclasses should call this method.
Overrides:
lemon.external.Cheetah.Filters.Filter.__init__ (inherited documentation)

filter(self, val, **kw)

Replace None with '' and cut off at maxlen.
Overrides:
lemon.external.Cheetah.Filters.Filter.filter

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.
Overrides:
lemon.external.Cheetah.Filters.Filter.generateAutoArgs (inherited documentation)

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