Package turbogears :: Package view :: Module genshisupport :: Class TGGenshiTemplatePlugin

Class TGGenshiTemplatePlugin

source code

                                         object --+        
                                                  |        
genshi.template.plugin.AbstractTemplateEnginePlugin --+    
                                                      |    
      genshi.template.plugin.MarkupTemplateEnginePlugin --+
                                                          |
                                                         TGGenshiTemplatePlugin

Custom Genshi template engine plugin supporting Buffet API extensions.

Nested Classes

Inherited from genshi.template.plugin.MarkupTemplateEnginePlugin: template_class

Instance Methods
 
__init__(self, extra_vars_func=None, options=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
render(self, info, format='html', fragment=False, template=None, **options)
Render the template to a string using the provided info.
source code

Inherited from genshi.template.plugin.MarkupTemplateEnginePlugin: transform

Inherited from genshi.template.plugin.AbstractTemplateEnginePlugin: load_template

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from genshi.template.plugin.MarkupTemplateEnginePlugin: extension

Properties

Inherited from object: __class__

Method Details

__init__(self, extra_vars_func=None, options=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

render(self, info, format='html', fragment=False, template=None, **options)

source code 

Render the template to a string using the provided info.

Overrides: genshi.template.plugin.AbstractTemplateEnginePlugin.render