gpldoc

Sympa documentation licensed under GPL

NAME

Sympa::Template - Template parser

SYNOPSIS

use Sympa::Template;

$template = Sympa::Template->new;
$template->parse($data, $tpl_file, \$output);

DESCRIPTION

Methods

Properties

Instance of Sympa::Template may have following attributes.

Filters

These custom filters are defined by Sympa::Template. See Template::Manual::Filters about usage of filters.

Note:

Calls of “helploc”, “loc” and “locdt” in template files are extracted during packaging process and are added to translation catalog.

Plugins

Plugins may be placed under LIBDIR/Sympa/Template/Plugin. See <https://sympa-community.github.io/manual/customize/template-plugins.html> about usage of plugins.

SEE ALSO

Template::Manual.

HISTORY

Sympa 4.2b.3 adopted template engine based on Template Toolkit.

Plugin feature was added on Sympa 6.2.

tt2 module was renamed to Sympa::Template on Sympa 6.2.


The content of this page is automatically generated from the source distribution of Sympa. For details about this document see original source file.

Theme originally designed by orderedlist