View | Details | Raw Unified | Return to bug 35919
Collapse All | Expand All

(-)a/Koha/RecordSource.pm (+44 lines)
Line 0 Link Here
1
package Koha::RecordSource;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2024 Koha Development Team
6
#
7
# Koha is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as
9
# published by the Free Software Foundation; either version 3
10
# of the License, or (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General
18
# Public License along with Koha; if not, see
19
# <http://www.gnu.org/licenses>
20
21
use Modern::Perl;
22
23
use base qw(Koha::Object);
24
25
use Koha::Patrons;
26
use Koha::Token;
27
28
=head1 NAME
29
30
Koha::RecordSource - Koha RecordSource Object class
31
32
=head1 API
33
34
=head2 Internal methods
35
36
=head3 _type
37
38
=cut
39
40
sub _type {
41
    return 'RecordSource';
42
}
43
44
1;
(-)a/Koha/RecordSources.pm (-1 / +51 lines)
Line 0 Link Here
0
- 
1
package Koha::RecordSources;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2024 Koha Development Team
6
#
7
# Koha is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as
9
# published by the Free Software Foundation; either version 3
10
# of the License, or (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General
18
# Public License along with Koha; if not, see
19
# <http://www.gnu.org/licenses>
20
21
use Modern::Perl;
22
23
use base qw(Koha::Objects);
24
25
use Koha::RecordSource;
26
27
=head1 NAME
28
29
Koha::RecordSources - Koha RecordSources Object class
30
31
=head1 API
32
33
=head2 Internal methods
34
35
=head3 _type
36
37
=cut
38
39
sub _type {
40
    return 'RecordSource';
41
}
42
43
=head3 object_class
44
45
=cut
46
47
sub object_class {
48
    return 'Koha::RecordSource';
49
}
50
51
1;

Return to bug 35919