|
Line 0
Link Here
|
|
|
1 |
package Koha::AuthorityMergeRequests; |
| 2 |
|
| 3 |
# Copyright Rijksmuseum 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 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::AuthorityMergeRequest; |
| 23 |
|
| 24 |
use parent qw(Koha::Objects); |
| 25 |
|
| 26 |
=head1 NAME |
| 27 |
|
| 28 |
Koha::AuthorityMergeRequests - Koha::Objects class for need_merge_authorities |
| 29 |
|
| 30 |
=head1 SYNOPSIS |
| 31 |
|
| 32 |
use Koha::AuthorityMergeRequests; |
| 33 |
|
| 34 |
=head1 DESCRIPTION |
| 35 |
|
| 36 |
Description |
| 37 |
|
| 38 |
=head1 METHODS |
| 39 |
|
| 40 |
=head2 INSTANCE METHODS |
| 41 |
|
| 42 |
=head2 CLASS METHODS |
| 43 |
|
| 44 |
=head3 _type |
| 45 |
|
| 46 |
Returns name of corresponding DBIC resultset |
| 47 |
|
| 48 |
=cut |
| 49 |
|
| 50 |
sub _type { |
| 51 |
return 'NeedMergeAuthority'; |
| 52 |
} |
| 53 |
|
| 54 |
=head3 object_class |
| 55 |
|
| 56 |
Returns name of corresponding Koha object class |
| 57 |
|
| 58 |
=cut |
| 59 |
|
| 60 |
sub object_class { |
| 61 |
return 'Koha::AuthorityMergeRequest'; |
| 62 |
} |
| 63 |
|
| 64 |
=head1 AUTHOR |
| 65 |
|
| 66 |
Marcel de Rooy (Rijksmuseum) |
| 67 |
|
| 68 |
Koha Development Team |
| 69 |
|
| 70 |
=cut |
| 71 |
|
| 72 |
1; |