X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FLinker.pm;h=0648ee3e0308a77a86470f37e3613a4c80de9720;hb=a195708e97159831184a081dabae007bfe00e14a;hp=a3c04f7e7cee227c99c9fd3dcadc57846e4b0e4e;hpb=a7f7aeb138b8275448937102cb7a46cf49530aef;p=koha-ffzg.git diff --git a/C4/Linker.pm b/C4/Linker.pm index a3c04f7e7c..0648ee3e03 100644 --- a/C4/Linker.pm +++ b/C4/Linker.pm @@ -4,18 +4,18 @@ package C4::Linker; # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . =head1 NAME @@ -35,6 +35,9 @@ the match is "fuzzy" (the semantics of "fuzzy" are up to the individual plugin). In order to handle authority limits, get_link should always end with: return $self->SUPER::_handle_auth_limit($authid), $fuzzy; +B - updates internal linker cache for +$heading with $authid of a new created authotiry record + B - return a MARC::Field object with the heading flipped to the preferred form. @@ -44,7 +47,6 @@ to the preferred form. use strict; use warnings; -use Carp; use C4::Context; use base qw(Class::Accessor);