Line 0
Link Here
|
0 |
- |
1 |
package Koha::ProblemReports; |
|
|
2 |
|
3 |
# This file is part of Koha. |
4 |
# |
5 |
# Copyright 2019 Aleisha Amohia <aleisha@catalyst.net.nz> |
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 FOR |
14 |
# A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
15 |
# |
16 |
# You should have received a copy of the GNU General Public License along |
17 |
# with Koha; if not, write to the Free Software Foundation, Inc., |
18 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
19 |
|
20 |
use Modern::Perl; |
21 |
|
22 |
use Koha::Database; |
23 |
use Koha::ProblemReport; |
24 |
|
25 |
use base qw(Koha::Objects); |
26 |
|
27 |
=head1 NAME |
28 |
|
29 |
Koha::ProblemReports - Koha Problem Report Object set class |
30 |
|
31 |
=head1 API |
32 |
|
33 |
=head2 Class Methods |
34 |
|
35 |
=cut |
36 |
|
37 |
=head3 type |
38 |
|
39 |
=cut |
40 |
|
41 |
sub _type { |
42 |
return 'ProblemReport'; |
43 |
} |
44 |
|
45 |
=head3 object_class |
46 |
|
47 |
=cut |
48 |
|
49 |
sub object_class { |
50 |
return 'Koha::ProblemReport'; |
51 |
} |
52 |
|
53 |
1; |