It's almost 2010 - load_components ('Core') is like ewwww
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Core.pm
1 package DBIx::Class::Core;
2
3 use strict;
4 use warnings;
5 no warnings 'qw';
6
7 use base qw/DBIx::Class/;
8
9 __PACKAGE__->load_components(qw/
10   Relationship
11   InflateColumn
12   PK::Auto
13   PK
14   Row
15   ResultSourceProxy::Table/);
16
17 1;
18
19 =head1 NAME
20
21 DBIx::Class::Core - Core set of DBIx::Class modules
22
23 =head1 SYNOPSIS
24
25   # In your result (table) classes
26   use base 'DBIx::Class::Core';
27
28 =head1 DESCRIPTION
29
30 This class just inherits from the various modules that make up the
31 L<DBIx::Class> core features.  You almost certainly want these.
32
33 The core modules currently are:
34
35 =over 4
36
37 =item L<DBIx::Class::InflateColumn>
38
39 =item L<DBIx::Class::Relationship>
40
41 =item L<DBIx::Class::PK::Auto>
42
43 =item L<DBIx::Class::PK>
44
45 =item L<DBIx::Class::Row>
46
47 =item L<DBIx::Class::ResultSourceProxy::Table>
48
49 =back
50
51 =head1 AUTHORS
52
53 Matt S. Trout <mst@shadowcatsystems.co.uk>
54
55 =head1 LICENSE
56
57 You may distribute this code under the same terms as Perl itself.
58
59 =cut