X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FLinker.pm;h=969d2eac99e037b2cc224b75ffad7d7324b92fe3;hb=b7787d1022b5f5c344e7d841a48ea1a2cc8dceed;hp=f030258380da37315d3ae27a5d36620bd3509cca;hpb=5207699f98612193c47b3ef7a3a3b6da5444b859;p=koha.git diff --git a/C4/Linker.pm b/C4/Linker.pm index f030258380..969d2eac99 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. @@ -86,8 +89,6 @@ sub new { return $self->SUPER::_handle_auth_limit($authid), $fuzzy; -=back - Function to be called by subclasses to handle authority record limits. =cut