- SEE ALSO
- COPYRIGHT AND LICENSE
Catalyst::View::Text::Template - Text::Template views for Catalyst
__PACKAGE__->config() options are available:
This works as per its namesake in Catalyst::View::TT in that it provides the extension for autogenerated template filenames. If there is no
template variable in the stash, the action name and this parameter are concatenated to create the default template file name.
These config variables work as per their descriptions in the Text::Template documentation. No attempt is made to sanitize them, they are passed straight through as is.
Values in this config variable will always be included in the templates HASH allow with the Catalyst stash values. It has lower precedence than the stash values, so duplicate names will be overridge by the stash.
This is intended for convenience in adding in useful helper functions or variables that you might use frequently and which seem to been more correcly placed in the view rather than stuffed in the stash via the Controller. Perhaps you might place a function to escape html, a list of states or countries?
This is a quick bodge, and may change in lots of ways. You may want to wait for this warning to go away.
Ricardo Signes <email@example.com>
Dean Hamstead <firstname.lastname@example.org>
This software is copyright (c) 2004 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.