NAME

Top Close Open

Template:TT3::Engine::TT2 - TT2 template processing engine

DESCRIPTION

Top Close Open

This module implements a thin wrapper around Template::TT2. It provides a backwards-compatibility wrapper for TT2.

METHODS

Top Close Open

This module implements the following method.

load()

Top Close Open

The Template3 module calls this method to determine the name of the engine class to instantiate. In the usual case, the load() method simple returns its own class name (e.g. Template::TT3::Engine::TT3->load() returns Template::TT3::Engine::TT3. In this case, the Template::TT3::Engine::TT2 module is a wrapper to load the Template::TT3 module (or display a helpful error message if it's not installed) and then delegate to it. Accordingly, the load() method returns the constant value Template::TT2.

AUTHOR

Top Close Open

Andy Wardley http://wardley.org

COPYRIGHT

Top Close Open

Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


http://tt3.template-toolkit.org/docs/Template/TT3/Engine/TT2.pm last modified 2009-11-29 20:09:23