Catalyst/Object.pm

filter: Statementstmt 96.6% 29 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 90.0% 9 / 10 Podpod 100% 1 / 1 totaltotal 95.1% 39 / 41 CC 1 SCAR 1.0
CC
1
Cov
97%
schema_class_prefix
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Catalyst/Form/Metadata.pm ↑ Summary Catalyst/Form.pm »
1 package Rose::DBx::Garden::Catalyst::Object;
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 Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Data::Dump qw( dump );
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base qw( Rose::DB::Object );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use base qw( Rose::DB::Object::Helpers );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use base qw( Rose::DBx::Object::MoreHelpers );
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use MRO::Compat;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 our $VERSION = '0.180';
13  
14 =head1 NAME
15  
16 Rose::DBx::Garden::Catalyst::Object - base RDBO class
17  
18 =head1 DESCRIPTION
19  
20 Rose::DBx::Garden::Catalyst::Object is a subclass of Rose::DB::Object
21 for using with YUI, RHTMLO and CatalystX::CRUD.
22  
23 RDGC::Object inherits from both RDBO and RDBO::Helpers, plus adding
24 some convenience methods of its own.
25  
26 =head1 METHODS
27  
28 See Rose::DBx::Object::MoreHelpers.
29  
30 =cut
31  
32 =head2 schema_class_prefix
33  
34 Returns garden_prefix() value. schema_class_prefix() is used
35 by Rose::HTMLx::Form::Related while garden_prefix() is what
36 Rose::DBx::Garden sets. See the documentation for
37 L<Rose::HTMLx::Form::Related::Metadata/discover_relationships> for
38 details on how garden_prefix must be set to correctly determine
39 Catalyst Controller names when using related HTML forms.
40  
41 =cut
42  
43 0 ▶sub schema_class_prefix {
Subroutine schema_class_prefix: not called CC=1 SCAR=6.9
Pod documented
44 0 shift->garden_prefix;
45 }
46  
47 1 1;
48  
49 __END__
50  
51 =head1 AUTHOR
52  
53 Peter Karman, C<< <karman at cpan.org> >>
54  
55 =head1 BUGS
56  
57 Please report any bugs or feature requests to
58 C<bug-rose-dbx-garden-catalyst at rt.cpan.org>, or through the web interface at
59 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Rose-DBx-Garden-Catalyst>.
60 I will be notified, and then you'll automatically be notified of progress on
61 your bug as I make changes.
62  
63 =head1 SUPPORT
64  
65 You can find documentation for this module with the perldoc command.
66  
67 perldoc Rose::DBx::Garden::Catalyst
68  
69 You can also look for information at:
70  
71 =over 4
72  
73 =item * AnnoCPAN: Annotated CPAN documentation
74  
75 L<http://annocpan.org/dist/Rose-DBx-Garden-Catalyst>
76  
77 =item * CPAN Ratings
78  
79 L<http://cpanratings.perl.org/d/Rose-DBx-Garden-Catalyst>
80  
81 =item * RT: CPAN's request tracker
82  
83 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Rose-DBx-Garden-Catalyst>
84  
85 =item * Search CPAN
86  
87 L<http://search.cpan.org/dist/Rose-DBx-Garden-Catalyst>
88  
89 =back
90  
91 =head1 ACKNOWLEDGEMENTS
92  
93 The Minnesota Supercomputing Institute C<< http://www.msi.umn.edu/ >>
94 sponsored the development of this software.
95  
96 =head1 COPYRIGHT & LICENSE
97  
98 Copyright 2008 by the Regents of the University of Minnesota.
99  
100 This program is free software; you can redistribute it and/or modify it
101 under the same terms as Perl itself.
102  
103  
104 =cut
105  
106  
« Catalyst/Form/Metadata.pm ↑ Summary Catalyst/Form.pm »