| 1 | package Reaction::InterfaceModel::Collection::Virtual::ResultSet; | ||
| 2 | |||
| 3 | 5 | ▶ | use Reaction::Class; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | # WARNING - DANGER: this is just an RFC, please DO NOT USE YET | ||
| 5 | |||
| 6 | 5 | ▶ | use namespace::clean -except => [ qw(meta) ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | extends "Reaction::InterfaceModel::Collection::Virtual"; | |
| 8 | |||
| 9 | 5 | with "Reaction::InterfaceModel::Collection::DBIC::Role::Base", | |
| 10 | "Reaction::InterfaceModel::Collection::DBIC::Role::Where"; | ||
| 11 | 3 | ▶ | sub _build__default_action_class_prefix { |
|
Subroutine
_build__default_action_class_prefix: called CC=1 SCAR=0.0
| |||
| 12 | 3 | shift->member_type; | |
| 13 | }; | ||
| 14 | |||
| 15 | 5 | __PACKAGE__->meta->make_immutable; | |
| 16 | |||
| 17 | |||
| 18 | 5 | 1; | |
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Reaction::InterfaceModel::Collection::Virtual::ResultSet | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | A virtual collection powered by a resultset | ||
| 27 | |||
| 28 | =head1 METHODS | ||
| 29 | |||
| 30 | =head2 _build_default_action_class_prefix | ||
| 31 | |||
| 32 | Returns the classname of the interface model objects contained in this collection. | ||
| 33 | |||
| 34 | =head1 ROLES CONSUMED | ||
| 35 | |||
| 36 | The following roles are consumed by this class, for more information about the | ||
| 37 | methods and attributes provided by them please see their respective documentation. | ||
| 38 | |||
| 39 | =over 4 | ||
| 40 | |||
| 41 | =item L<Reaction::InterfaceModel::Collection::DBIC::Role::Base> | ||
| 42 | |||
| 43 | =item L<Reaction::InterfaceModel::Collection::DBIC::Role::Where> | ||
| 44 | |||
| 45 | =back | ||
| 46 | |||
| 47 | =head1 AUTHORS | ||
| 48 | |||
| 49 | See L<Reaction::Class> for authors. | ||
| 50 | |||
| 51 | =head1 LICENSE | ||
| 52 | |||
| 53 | See L<Reaction::Class> for the license. | ||
| 54 | |||
| 55 | =cut | ||