Bug 24602: Make get_onshelfholds_policy fallback to 0
[koha.git] / Koha / Illcomments.pm
blob57330e76cc9b69ea475431a5b35dab4fb60298ed
1 package Koha::Illcomments;
3 # Copyright Magnus Enger Libriotech 2017
5 # This file is part of Koha.
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.
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.
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.
21 use Modern::Perl;
22 use Koha::Database;
23 use Koha::Illcomment;
24 use base qw(Koha::Objects);
26 =head1 NAME
28 Koha::Illcomments - Koha Illcomments Object class
30 =head2 Internal methods
32 =head3 _type
34 my $type = Koha::IllComments->_type;
36 Return this object's type
38 =cut
40 sub _type {
41 return 'Illcomment';
44 =head3 object_class
46 my $class = Koha::IllComments->object_class;
48 Return this object's class name
50 =cut
52 sub object_class {
53 return 'Koha::Illcomment';
56 =head1 AUTHOR
58 Magnus Enger <magnus@libriotech.no>
60 =cut