Class

DefaultTemplateRenderer

Package: IO\Template\renderer Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 28 Since: PHPBoost 3.0 - 2010 02 06 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com 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
public string
# render( TemplateData $data, TemplateLoader $loader )

Returns the result of the interpretation of a template

public
# 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