Catalyst/View.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 37 / 37 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catalyst/TT.pm ↑ Summary
1 package Rose::DBx::Garden::Catalyst::View;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use base qw( CatalystX::CRUD::YUI::View );
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Class::Inspector;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Path::Class;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Rose::DBx::Garden::Catalyst::TT;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use MRO::Compat;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 our $VERSION = '0.180';
12  
13 =head1 NAME
14  
15 Rose::DBx::Garden::Catalyst::View - base View class
16  
17 =head1 DESCRIPTION
18  
19 Rose::DBx::Garden::Catalyst::View is a subclass of CatalystX::CRUD::YUI::View.
20  
21 =head1 CONFIGURATION
22  
23 Configuration is the same as with Catalyst::View::TT. Read those docs.
24  
25 The default config here is:
26  
27 __PACKAGE__->config(
28 TEMPLATE_EXTENSION => '.tt',
29 PRE_PROCESS => 'rdgc/tt_config.tt',
30 WRAPPER => 'rdgc/wrapper.tt',
31 );
32  
33 =cut
34  
35 # default config here instead of new() so subclasses can more easily override.
36 #
37 # backwards compat for INCLUDE_PATH since all templates
38 # are now based in CatalystX::CRUD::YUI::TT
39 1 my $template_base
40 = Class::Inspector->loaded_filename('Rose::DBx::Garden::Catalyst::TT');
41 1 $template_base =~ s/\.pm$//;
42 1 __PACKAGE__->config(
43 TEMPLATE_EXTENSION => '.tt',
44 PRE_PROCESS => 'rdgc/tt_config.tt',
45 WRAPPER => 'rdgc/wrapper.tt',
46 INCLUDE_PATH => [ Path::Class::dir($template_base) ],
47 );
48  
49 =head1 METHODS
50  
51 No methods are implemented in this class.
52  
53 =cut
54  
55 1 1;
56  
57 __END__
58  
59 =head1 AUTHOR
60  
61 Peter Karman, C<< <karman at cpan.org> >>
62  
63 =head1 BUGS
64  
65 Please report any bugs or feature requests to
66 C<bug-rose-dbx-garden-catalyst at rt.cpan.org>, or through the web interface at
67 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Rose-DBx-Garden-Catalyst>.
68 I will be notified, and then you'll automatically be notified of progress on
69 your bug as I make changes.
70  
71 =head1 SUPPORT
72  
73 You can find documentation for this module with the perldoc command.
74  
75 perldoc Rose::DBx::Garden::Catalyst
76  
77 You can also look for information at:
78  
79 =over 4
80  
81 =item * AnnoCPAN: Annotated CPAN documentation
82  
83 L<http://annocpan.org/dist/Rose-DBx-Garden-Catalyst>
84  
85 =item * CPAN Ratings
86  
87 L<http://cpanratings.perl.org/d/Rose-DBx-Garden-Catalyst>
88  
89 =item * RT: CPAN's request tracker
90  
91 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Rose-DBx-Garden-Catalyst>
92  
93 =item * Search CPAN
94  
95 L<http://search.cpan.org/dist/Rose-DBx-Garden-Catalyst>
96  
97 =back
98  
99 =head1 ACKNOWLEDGEMENTS
100  
101 The Minnesota Supercomputing Institute C<< http://www.msi.umn.edu/ >>
102 sponsored the development of this software.
103  
104 =head1 COPYRIGHT & LICENSE
105  
106 Copyright 2008 by the Regents of the University of Minnesota.
107  
108 This program is free software; you can redistribute it and/or modify it
109 under the same terms as Perl itself.
110  
111  
112 =cut
« Catalyst/TT.pm ↑ Summary