File Coverage

blib/lib/OpusVL/Preferences/Schema/ResultSet/PrfDefaultValues.pm
Criterion Covered Total %
statement 3 5 60.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 1 1 100.0
total 5 8 62.5


line stmt bran cond sub pod time code
1             package OpusVL::Preferences::Schema::ResultSet::PrfDefaultValues;
2              
3 1     1   1692 use Moose;
  1         2  
  1         21  
4             extends 'DBIx::Class::ResultSet';
5              
6             sub sorted
7             {
8 0     0 1   my $self = shift;
9 0           return $self->search(undef, { order_by => ['display_order', 'value'] });
10             }
11              
12             1;
13              
14             __END__
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             OpusVL::Preferences::Schema::ResultSet::PrfDefaultValues
23              
24             =head1 VERSION
25              
26             version 0.27
27              
28             =head1 DESCRIPTION
29              
30             =head1 METHODS
31              
32             =head2 sorted
33              
34             =head1 ATTRIBUTES
35              
36             =head1 LICENSE AND COPYRIGHT
37              
38             Copyright 2012 OpusVL.
39              
40             This software is licensed according to the "IP Assignment Schedule" provided with the development project.
41              
42             =head1 AUTHOR
43              
44             OpusVL - www.opusvl.com
45              
46             =head1 COPYRIGHT AND LICENSE
47              
48             This software is copyright (c) 2011 by OpusVL - www.opusvl.com.
49              
50             This is free software; you can redistribute it and/or modify it under
51             the same terms as the Perl 5 programming language system itself.
52              
53             =cut