Commit | Line | Data |
8077080c |
1 | NAME |
2 | Catalyst::View::TT - Template View Class |
3 | |
4 | SYNOPSIS |
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 | |
19 | DESCRIPTION |
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 | |
31 | SEE ALSO |
32 | Catalyst. |
33 | |
34 | AUTHOR |
35 | Sebastian Riedel, "sri@cpan.org" Marcus Ramberg |
36 | |
37 | COPYRIGHT |
38 | This program is free software, you can redistribute it and/or modify it |
39 | under the same terms as Perl itself. |
40 | |