| 1 | package MojoMojo::Schema::ResultSet::Role; | ||
| 2 | |||
| 3 | 40 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 40 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 40 | ▶ | use parent qw/MojoMojo::Schema::Base::ResultSet/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | MojoMojo::Schema::ResultSet::Role - resultset methods on roles | ||
| 10 | |||
| 11 | =head1 METHODS | ||
| 12 | |||
| 13 | =head2 active_roles | ||
| 14 | |||
| 15 | Filter inactive roles. | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | 0 | ▶ | sub active_roles { |
|
Subroutine
active_roles: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | 0 | shift->search( { active => 1 } ); | |
| 21 | } | ||
| 22 | |||
| 23 | =head1 AUTHOR | ||
| 24 | |||
| 25 | Marcus Ramberg <mramberg@cpan.org> | ||
| 26 | |||
| 27 | =head1 LICENSE | ||
| 28 | |||
| 29 | This library is free software. You can redistribute it and/or modify | ||
| 30 | it under the same terms as Perl itself. | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 40 | 1; | |