|
Lines 6-12
package Koha::Authority;
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
# Koha is free software; you can redistribute it and/or modify it under the |
7 |
# Koha is free software; you can redistribute it and/or modify it under the |
| 8 |
# terms of the GNU General Public License as published by the Free Software |
8 |
# terms of the GNU General Public License as published by the Free Software |
| 9 |
# Foundation; either version 2 of the License, or (at your option) any later |
9 |
# Foundation; either version 3 of the License, or (at your option) any later |
| 10 |
# version. |
10 |
# version. |
| 11 |
# |
11 |
# |
| 12 |
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY |
12 |
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY |
|
Lines 50-55
__PACKAGE__->mk_accessors(qw( authid authtype ));
Link Here
|
| 50 |
Create a new Koha::Authority object based on the provided record. |
50 |
Create a new Koha::Authority object based on the provided record. |
| 51 |
|
51 |
|
| 52 |
=cut |
52 |
=cut |
|
|
53 |
|
| 53 |
sub new { |
54 |
sub new { |
| 54 |
my $class = shift; |
55 |
my $class = shift; |
| 55 |
my $record = shift; |
56 |
my $record = shift; |
|
Lines 76-81
authorities in Koha are MARC records by definition. This is an
Link Here
|
| 76 |
unfortunate but unavoidable fact. |
77 |
unfortunate but unavoidable fact. |
| 77 |
|
78 |
|
| 78 |
=cut |
79 |
=cut |
|
|
80 |
|
| 79 |
sub get_from_authid { |
81 |
sub get_from_authid { |
| 80 |
my $class = shift; |
82 |
my $class = shift; |
| 81 |
my $authid = shift; |
83 |
my $authid = shift; |
|
Lines 113-118
sub get_from_authid {
Link Here
|
| 113 |
Create the Koha::Authority object associated with the provided authid. |
115 |
Create the Koha::Authority object associated with the provided authid. |
| 114 |
|
116 |
|
| 115 |
=cut |
117 |
=cut |
|
|
118 |
|
| 116 |
sub get_from_breeding { |
119 |
sub get_from_breeding { |
| 117 |
my $class = shift; |
120 |
my $class = shift; |
| 118 |
my $import_record_id = shift; |
121 |
my $import_record_id = shift; |