| 1 | package Catalyst::Helper::View::Email; | ||
| 2 | |||
| 3 | our $VERSION = '0.36'; | ||
| 4 | $VERSION = eval $VERSION; | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Catalyst::Helper::View::Email - Helper for Email Views | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | $ script/myapp_create.pl view Email Email | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Helper for Email Views. | ||
| 19 | |||
| 20 | =head2 METHODS | ||
| 21 | |||
| 22 | =head3 mk_compclass | ||
| 23 | |||
| 24 | =cut | ||
| 25 | |||
| 26 | sub mk_compclass { | ||
| 27 | my ( $self, $helper ) = @_; | ||
| 28 | my $file = $helper->{file}; | ||
| 29 | $helper->render_file( 'compclass', $file ); | ||
| 30 | } | ||
| 31 | |||
| 32 | =head1 SEE ALSO | ||
| 33 | |||
| 34 | L<Catalyst::View::Email> | ||
| 35 | |||
| 36 | L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>, | ||
| 37 | L<Catalyst::Response>, L<Catalyst::Helper> | ||
| 38 | |||
| 39 | =head1 AUTHOR | ||
| 40 | |||
| 41 | J. Shirley C<jshirley@gmail.com> | ||
| 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__ |