NAME

Top Close Open

Template:TT3::Element::Text - element representing text tokens

DESCRIPTION

Top Close Open

This module implements a thin subclass of Template::TT3::Element to represent literal text tokens, i.e. blocks of plain text in a template. It acts as a common base class for the Template::TT3::Element::Padding and Template::TT3::Element::String element.

METHODS

Top Close Open

This module inherits all methods from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes.

CONSTANTS

Top Close Open

The following constant method is defined:

SOURCE_FORMAT

Top Close Open

This defines a sprintf() format string of "%s" (note that the quotes are part of the format). This is used by the source() method inherited from Template::TT3::Element::Literal to render a canonical representation of the template source code for this element.

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.

SEE ALSO

Top Close Open

This module inherits methods from the Template::TT3::Element::Literal , Template::TT3::Element , Template::TT3::Base and Badger::Base base classes.

It is constructed using the Template::TT3::Class::Element class metaprogramming module.

It is itself the base class for the Template::TT3::Element::Padding and Template::TT3::Element::String modules.


http://tt3.template-toolkit.org/docs/Template/TT3/Element/Text.pm last modified 2009-12-21 17:51:46