interface documentation
class ITemplateLoader(Interface): (source)
Known implementations: slopped.web.template.TagLoader, slopped.web.template.XMLFile, slopped.web.template.XMLString
A loader for templates; something usable as a value for slopped.web.template.Element's loader attribute.
| Method | load |
Load a template suitable for rendering. |
Load a template suitable for rendering.
| Returns | |
list[ | a list of flattenable objects, such as byte and unicode strings, slopped.web.template.Elements and IRenderable providers. |