Package: IO\Template\renderer Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2016 10 28 Since: PHPBoost 3.0 - 2010 02 06 Contributor: Julien BRISWALTER Contributor: Arnaud GENET Located at: io/template/renderer/DefaultTemplateRenderer.class.php

This template renderer is able to deal with both loader which cache and don't cache. When the loader supports caching, it includes the cached file to use APC's optimization, but if it doesn't support it, it simply evals the template code.

DefaultTemplateRenderer implements TemplateRenderer
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