| 1 | package Catalyst::Helper::View::Wkhtmltopdf; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | our $VERSION = 'v0.6.4'; | ||
| 7 | |||
| 8 | |||
| 9 | sub mk_compclass { | ||
| 10 | my ( $self, $helper ) = @_; | ||
| 11 | my $file = $helper->{file}; | ||
| 12 | $helper->render_file( 'compclass', $file ); | ||
| 13 | } | ||
| 14 | |||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =encoding UTF-8 | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Catalyst::Helper::View::Wkhtmltopdf | ||
| 25 | |||
| 26 | =head1 VERSION | ||
| 27 | |||
| 28 | version v0.6.4 | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | script/create.pl view Wkhtmltopdf Wkhtmltopdf | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Helper for Wkhtmltopdf Views. | ||
| 37 | |||
| 38 | =head1 METHODS | ||
| 39 | |||
| 40 | =head2 mk_compclass | ||
| 41 | |||
| 42 | =head1 SEE ALSO | ||
| 43 | |||
| 44 | L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>, | ||
| 45 | L<Catalyst::Response>, L<Catalyst::Helper> | ||
| 46 | |||
| 47 | =head1 SOURCE | ||
| 48 | |||
| 49 | The development version is on github at L<https://github.com/robrwo/Catalyst-View-Wkhtmltopdf> | ||
| 50 | and may be cloned from L<https://github.com/robrwo/Catalyst-View-Wkhtmltopdf.git> | ||
| 51 | |||
| 52 | =head1 SUPPORT | ||
| 53 | |||
| 54 | Please report any bugs or feature requests on the bugtracker website | ||
| 55 | L<https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-View-Wkhtmltopdf> | ||
| 56 | |||
| 57 | When submitting a bug or request, please include a test-file or a | ||
| 58 | patch to an existing test-file that illustrates the bug or desired | ||
| 59 | feature. | ||
| 60 | |||
| 61 | =head1 AUTHOR | ||
| 62 | |||
| 63 | Michele Beltrame <mb@italpro.net> | ||
| 64 | |||
| 65 | =head1 COPYRIGHT AND LICENSE | ||
| 66 | |||
| 67 | This software is copyright (c) 2011-2018, 2026 by Michele Beltrame <mb@italpro.net>. | ||
| 68 | |||
| 69 | This is free software; you can redistribute it and/or modify it under | ||
| 70 | the same terms as the Perl 5 programming language system itself. | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | __DATA__ |