NAME
OpenFrame::WebApp::Template::TT2 - a TT2 template processing wrapper
SYNOPSIS
use OpenFrame::WebApp::Template::TT2;
my $tmpl = new OpenFrame::WebApp::Template::TT2;
$tmpl->file( $local_file_path )
->template_vars( { fred => fish } );
$response = $tmpl->process;
DESCRIPTION
The OpenFrame::WebApp::Template::TT2
class is wrapper around the Template::Toolkit
. It inherits its functionality from OpenFrame::WebApp::Template
TEMPLATE TYPE
tt2
METHODS
- tt2( [ $template ] )
-
set/get the TT2 singleton of this class. a default is created when the class is loaded.
AUTHOR
Steve Purkis <spurkis@epn.nu>
Based on OpenFrame::AppKit::Segment::TT2
, by James A. Duncan.
COPYRIGHT
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.
SEE ALSO
Template, OpenFrame::WebApp::Template, OpenFrame::WebApp::Template::Factory