The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GX::View::Template::TT - Template-based view

SYNOPSIS

    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;

DESCRIPTION

This module provides the GX::View::Template::TT class which extends the GX::View::Template class.

METHODS

See GX::View::Template.

USAGE

Template Parameters

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.

File Extensions

The following file extensions are associated with GX::View::Template::TT:

  • .tt

SEE ALSO

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

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.