<<

NAME

Koha::Authority - class to encapsulate authority records in Koha

SYNOPSIS

Object-oriented class that encapsulates authority records in Koha.

DESCRIPTION

Authority data.

new

    my $auth = Koha::Authority->new($record);

Create a new Koha::Authority object based on the provided record.

get_from_authid

    my $auth = Koha::Authority->get_from_authid($authid);

Create the Koha::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.

get_from_breeding

    my $auth = Koha::Authority->get_from_authid($authid);

Create the Koha::Authority object associated with the provided authid.

<<