Bug 20750: (QA follow-up) Fix templates
[koha.git] / Koha / AdditionalFieldValue.pm
blob69515cd1afb112700c170b5155ba6b01dbca0680
1 package Koha::AdditionalFieldValue;
3 use Modern::Perl;
5 use base 'Koha::Object';
7 =head1 NAME
9 Koha::AdditionalFieldValue - Koha::Object derived class for additional field
10 values
12 =cut
14 =head2 Class methods
16 =cut
18 =head3 field
20 Return the Koha:AdditionalField object for this AdditionalFeidlValue
22 =cut
24 sub field {
25 my ( $self ) = @_;
27 return Koha::AdditionalField->_new_from_dbic( $self->_result()->field() );
30 =head2 Internal methods
32 =head3 _type
34 =cut
36 sub _type { 'AdditionalFieldValue' }
38 =head1 AUTHOR
40 Koha Development Team <http://koha-community.org/>
42 =head1 COPYRIGHT AND LICENSE
44 Copyright 2018 BibLibre
46 This file is part of Koha.
48 Koha is free software; you can redistribute it and/or modify it under the
49 terms of the GNU General Public License as published by the Free Software
50 Foundation; either version 3 of the License, or (at your option) any later
51 version.
53 Koha is distributed in the hope that it will be useful, but WITHOUT ANY
54 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
55 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
57 You should have received a copy of the GNU General Public License along
58 with Koha; if not, see <http://www.gnu.org/licenses>.
60 =head1 SEE ALSO
62 L<Koha::Object>
64 =cut