| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Catalyst::Helper::View::TT::Alloy; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 1524 | use strict; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 79 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | =head1 NAME | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | Catalyst::Helper::View::TT::Alloy - Helper for Template::Alloy Views | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | script/create.pl view TT::Alloy TT::Alloy | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | Helper for Template::Alloy Views. | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | =head2 METHODS | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | =head3 mk_compclass | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =cut | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | sub mk_compclass { | 
| 24 | 0 |  |  | 0 | 1 |  | my ( $self, $helper ) = @_; | 
| 25 | 0 |  |  |  |  |  | my $file = $helper->{file}; | 
| 26 | 0 |  |  |  |  |  | $helper->render_file( 'compclass', $file ); | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | =head1 SEE ALSO | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | L<Catalyst::View::TT::Alloy>, L<Template::Alloy>, L<Catalyst::Manual> | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =head1 AUTHORS | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | Carl Franks, C<cfranks@cpan.org> | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | Based on the code of C<Catalyst::Helper::TT::Alloy>, by | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | Sebastian Riedel, C<sri@oook.de> | 
| 40 |  |  |  |  |  |  |  | 
| 41 |  |  |  |  |  |  | Marcus Ramberg, C<mramberg@cpan.org> | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | =head1 LICENSE | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | This library is free software . You can redistribute it and/or modify | 
| 46 |  |  |  |  |  |  | it under the same terms as perl itself. | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | =cut | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | 1; | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | __DATA__ | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | __compclass__ | 
| 55 |  |  |  |  |  |  | package [% class %]; | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | use strict; | 
| 58 |  |  |  |  |  |  | use base 'Catalyst::View::TT::Alloy'; | 
| 59 |  |  |  |  |  |  |  | 
| 60 |  |  |  |  |  |  | 1; | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | __END__ | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | =head1 NAME | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | [% class %] - TT::Alloy View for [% app %] | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | TT::Alloy View for [% app %]. | 
| 71 |  |  |  |  |  |  |  | 
| 72 |  |  |  |  |  |  | =head1 AUTHOR | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | =head1 SEE ALSO | 
| 75 |  |  |  |  |  |  |  | 
| 76 |  |  |  |  |  |  | L<[% app %]> | 
| 77 |  |  |  |  |  |  |  | 
| 78 |  |  |  |  |  |  | [% author %] | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | =head1 LICENSE | 
| 81 |  |  |  |  |  |  |  | 
| 82 |  |  |  |  |  |  | This library is free software, you can redistribute it and/or modify | 
| 83 |  |  |  |  |  |  | it under the same terms as Perl itself. | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  | =cut |