| 1 | package Catalyst::Helper::View::SVG::TT::Graph; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | |||
| 5 | our $VERSION = 0.021; | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Catalyst::Helper::View::SVG::TT::Graph - Helper for Catalyst::View::SVG::TT::Graph | ||
| 10 | |||
| 11 | =head1 SYNOPSIS | ||
| 12 | |||
| 13 | ./script/myapp_create.pl view Chart SVG::TT::Graph | ||
| 14 | |||
| 15 | =head1 METHODS | ||
| 16 | |||
| 17 | =head2 mk_compclass | ||
| 18 | |||
| 19 | Generate your Catalyst::View::SVG::TT::Graph view component | ||
| 20 | |||
| 21 | =cut | ||
| 22 | |||
| 23 | sub mk_compclass { | ||
| 24 | my ( $self, $helper ) = @_; | ||
| 25 | my $file = $helper->{file}; | ||
| 26 | $helper->render_file( 'compclass', $file ); | ||
| 27 | } | ||
| 28 | |||
| 29 | =head1 AUTHOR | ||
| 30 | |||
| 31 | Terence Monteiro <terencemo[at]cpan.org> | ||
| 32 | |||
| 33 | =head1 LICENSE | ||
| 34 | |||
| 35 | This library is free software. You can redistribute it and/or modify it under | ||
| 36 | the same terms as Perl itself. | ||
| 37 | |||
| 38 | =begin comment | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 1; | ||
| 43 | |||
| 44 | __DATA__ |