NAME

Plagger::Template - Template Toolkit subclass for Plagger

SYNOPSIS

From within a plagger plugin
$self->templatize($file, $vars);

DESCRIPTION

A subclass of Template Toolkit that's used by the Plagger plugins. As a plugin author, you really don't have to worry about this. See the documentation for Plagger::Pluggin's templatize method instead.

The plugin calls the custom new routine like so:

Plagger::Template->new($plagger_context, $self);

Essentially this subclass uses this to know where the templates are from the assets path.

It also does the right thing with encodings and utf8.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

See AUTHORS file for the name of all the contributors.

LICENSE

Except where otherwise noted, Plagger is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

http://plagger.org/, Template, http://tt2.org/