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

(-)a/Koha/Item/Transfer.pm (-1 / +1 lines)
Lines 25-31 use base qw(Koha::Object); Link Here
25
25
26
=head1 NAME
26
=head1 NAME
27
27
28
Koha::Item::Transfer - Koha Transfer Object class
28
Koha::Item::Transfer - Koha Item Transfer Object class
29
29
30
=head1 API
30
=head1 API
31
31
(-)a/Koha/Item/Transfer/Limit.pm (+45 lines)
Line 0 Link Here
1
package Koha::Item::Transfer::Limit;
2
3
# Copyright Koha-Suomi Oy 2017
4
# This file is part of Koha.
5
#
6
# Koha is free software; you can redistribute it and/or modify it under the
7
# terms of the GNU General Public License as published by the Free Software
8
# Foundation; either version 3 of the License, or (at your option) any later
9
# version.
10
#
11
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
12
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License along
16
# with Koha; if not, write to the Free Software Foundation, Inc.,
17
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
19
use Modern::Perl;
20
21
use Carp;
22
23
use Koha::Database;
24
25
use base qw(Koha::Object);
26
27
=head1 NAME
28
29
Koha::Item::Transfer::Limit - Koha Item Transfer Limit Object 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 'BranchTransferLimit';
43
}
44
45
1;
(-)a/Koha/Item/Transfer/Limits.pm (+49 lines)
Line 0 Link Here
1
package Koha::Item::Transfer::Limits;
2
3
# Copyright Koha-Suomi Oy 2017
4
# This file is part of Koha.
5
#
6
# Koha is free software; you can redistribute it and/or modify it under the
7
# terms of the GNU General Public License as published by the Free Software
8
# Foundation; either version 3 of the License, or (at your option) any later
9
# version.
10
#
11
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
12
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License along
16
# with Koha; if not, write to the Free Software Foundation, Inc.,
17
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
19
use Modern::Perl;
20
21
use Koha::Database;
22
23
use Koha::Item::Transfer::Limit;
24
25
use base qw(Koha::Objects);
26
27
=head1 NAME
28
29
Koha::Item::Transfer::Limits - Koha Item Transfer Limits 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 'BranchTransferLimit';
43
}
44
45
sub object_class {
46
    return 'Koha::Item::Transfer::Limit';
47
}
48
49
1;
(-)a/Koha/Item/Transfers.pm (-2 / +1 lines)
Lines 27-33 use base qw(Koha::Objects); Link Here
27
27
28
=head1 NAME
28
=head1 NAME
29
29
30
Koha::Transfers - Koha Transfer Object set class
30
Koha::Item::Transfers - Koha Item Transfer Object set class
31
31
32
=head1 API
32
=head1 API
33
33
34
- 

Return to bug 18072