<<

NAME

Koha::Metadata - Koha Metadata Object class

API

Class Methods

record

my $record = $metadata->record;

Returns an object representing the metadata record. The expected record type corresponds to this table:

    -------------------------------
    | format     | object type    |
    -------------------------------
    | marcxml    | MARC::Record   |
    -------------------------------

Error handling

If an unsupported format is found, it throws a Koha::Exceptions::Metadata exception.
If it fails to create the record object, it throws a Koha::Exceptions::Metadata::Invalid exception.

type

<<