Horde Template system. Adapted from bTemplate by Brian Lozier
.
Horde_Template provides a basic template engine with tags, loops, and if conditions. However, it is also a simple interface with several essential functions: set(), fetch(), and parse(). Subclasses or decorators can implement (or delegate) these three methods, plus the options api, and easily implement other template engines (PHP code, XSLT, etc.) without requiring usage changes.
$Horde: framework/Template/Template.php,v 1.38.10.15 2009/01/06 15:23:41 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Template/Template.php (line 25)
Loop tag values.
Directory that templates should be read from.
Cloop tag values.
If tag values.
Option values.
Tag (scalar) values.
Cached source of template file.
Name of cached template file.
Constructor. Can set the template base path and whether or not to drop template variables after a parsing a template.
Fetches a template from the specified file and return the parsed contents.
Returns the value of a tag or loop.
Returns an option's value.
Parses all variables/tags in the template.
Sets a tag, loop, or if variable.
Sets values for a cloop.
Sets an option.
Set the template contents to a string.
Parses gettext tags.
Documentation generated on Sun, 30 Jan 2011 05:22:39 +0000 by phpDocumentor 1.4.3