GX::View::Template::TT - Template-based view
package MyApp::View::Template; use GX::View::Template::TT; __PACKAGE__->setup( default_content_type => 'text/html', default_encoding => 'utf-8', file_extensions => [ 'tt' ], options => { TRIM => 1 }, preload => 1 ); 1;
This module provides the GX::View::Template::TT class which extends the GX::View::Template class.
See GX::View::Template.
The following template parameters are provided automatically:
context
The current context object, if available.
output_charset
The IANA charset name of the output encoding, e.g. "UTF-8" or "ISO-8859-1". Only provided if the output is going to be encoded.
The following file extensions are associated with GX::View::Template::TT:
.tt
Template
Template::Manual
Template::Tutorial
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.