|
NAMEGantry::Template::TT - Template Toolkit plugin for Gantry.SYNOPSISuse Gantry::Template::TT; DESCRIPTIONUse this module when you want template toolkit to produce your output:use Gantry qw/ -Engine=YourChoice -TemplateEngine=TT /; Then in your do_* method do something like this: sub do_something { my $self = shift; # ... gather data for output # set the name of the template TT should use: $self->stash->view->template( 'output.tt' ); # set the data TT should use to fill in the template: $self->stash->view->data( { # vars to pass to TT's process method } ); } This is plugin module that contains the Template Toolkit method calls. METHODS
SEE ALSOGantry(3)LIMITATIONSAUTHORTim Keefer <tkeefer@gmail.com>COPYRIGHT and LICENSECopyright (c) 2005-6, Tim Keefer.This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |