Koha::MetadataRecord::Authority - class to encapsulate authority records in Koha
Object-oriented class that encapsulates authority records in Koha.
Authority data.
my $auth = Koha::MetadataRecord::Authority->new($record);
Create a new Koha::MetadataRecord::Authority object based on the provided record.
my $auth = Koha::MetadataRecord::Authority->get_from_authid($authid);
Create the Koha::MetadataRecord::Authority object associated with the provided authid. Note that this routine currently retrieves a MARC record because authorities in Koha are MARC records by definition. This is an unfortunate but unavoidable fact.
my $auth = Koha::MetadataRecord::Authority->get_from_authid($authid);
Create the Koha::MetadataRecord::Authority object associated with the provided authid.