Bug 25791: Remove win.print()
[koha.git] / Koha / AdditionalFieldValue.pm
blob6af87a9d9d5b95f0cdd5bd8e3e9cd2622472fcb1
1 package Koha::AdditionalFieldValue;
3 use Modern::Perl;
4 use Koha::AdditionalField;
6 use base 'Koha::Object';
8 =head1 NAME
10 Koha::AdditionalFieldValue - Koha::Object derived class for additional field
11 values
13 =cut
15 =head2 Class methods
17 =cut
19 =head3 field
21 Return the Koha::AdditionalField object for this AdditionalFieldValue
23 =cut
25 sub field {
26 my ( $self ) = @_;
28 return Koha::AdditionalField->_new_from_dbic( $self->_result()->field() );
31 =head2 Internal methods
33 =head3 _type
35 =cut
37 sub _type { 'AdditionalFieldValue' }
39 =head1 AUTHOR
41 Koha Development Team <http://koha-community.org/>
43 =head1 COPYRIGHT AND LICENSE
45 Copyright 2018 BibLibre
47 This file is part of Koha.
49 Koha is free software; you can redistribute it and/or modify it under the
50 terms of the GNU General Public License as published by the Free Software
51 Foundation; either version 3 of the License, or (at your option) any later
52 version.
54 Koha is distributed in the hope that it will be useful, but WITHOUT ANY
55 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
56 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
58 You should have received a copy of the GNU General Public License along
59 with Koha; if not, see <http://www.gnu.org/licenses>.
61 =head1 SEE ALSO
63 L<Koha::Object>
65 =cut