new helper api
[catagits/Catalyst-View-TT.git] / README
CommitLineData
8077080c 1NAME
2 Catalyst::View::TT - Template View Class
3
4SYNOPSIS
5 # use the helper
6 create view TT TT
7
8 # lib/MyApp/View/TT.pm
9 package MyApp::View::TT;
10
11 use base 'Catalyst::View::TT';
12
13 __PACKAGE__->config->{DEBUG} = 'all';
14
15 1;
16
17 $c->forward('MyApp::View::TT');
18
19DESCRIPTION
20 This is the "Template" view class.
21
22 OVERLOADED METHODS
23 process
24 Renders the template specified in $c->stash->{template} or
25 $c->request->match to $c->response->output.
26
27 config
28 This allows your view subclass to pass additional settings to the TT
29 config hash.
30
31SEE ALSO
32 Catalyst.
33
34AUTHOR
35 Sebastian Riedel, "sri@cpan.org" Marcus Ramberg
36
37COPYRIGHT
38 This program is free software, you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40