Package: IO\Template\renderer Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2010 02 06 Located at: io/template/renderer/TemplateRenderer.class.php

Represents a template renderer as its names shows. Its able to get the result of the template interpration from a TemplateLoader which gives it the template source and a TemplateData which contains the data to assign in the template.

Direct known implementers
Methods summary
public string
# render( TemplateData $data, TemplateLoader $loader )

Returns the result of the interpretation of a template

# add_lang( array $lang )

Adds a lang map to the template map list in which template variables beginning by L_ will be searched for of not already registered