Bug 26265: (QA follow-up) Remove g option from regex, add few dirs
[koha-equinox.git] / Koha / Illcomments.pm
1 package Koha::Illcomments;
2
3 # Copyright Magnus Enger Libriotech 2017
4 #
5 # This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
11 #
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
15 # details.
16 #
17 # You should have received a copy of the GNU General Public License along with
18 # Koha; if not, write to the Free Software Foundation, Inc., 51 Franklin
19 # Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
21 use Modern::Perl;
22 use Koha::Database;
23 use Koha::Illcomment;
24 use base qw(Koha::Objects);
25
26 =head1 NAME
27
28 Koha::Illcomments - Koha Illcomments Object class
29
30 =head2 Internal methods
31
32 =head3 _type
33
34     my $type = Koha::IllComments->_type;
35
36 Return this object's type
37
38 =cut
39
40 sub _type {
41     return 'Illcomment';
42 }
43
44 =head3 object_class
45
46     my $class = Koha::IllComments->object_class;
47
48 Return this object's class name
49
50 =cut
51
52 sub object_class {
53     return 'Koha::Illcomment';
54 }
55
56 =head1 AUTHOR
57
58 Magnus Enger <magnus@libriotech.no>
59
60 =cut
61
62 1;