<<

NAME

Koha::Import::Record - Koha Import Record Object class

API

Class methods

get_marc_record

Returns a MARC::Record object

    my $marc_record = $import_record->get_marc_record()

import_biblio

Returns the import biblio object for this import record

    my $import_biblio = $import_record->import_biblio()

import_auth

Returns the import auth object for this import record

    my $import_auth = $import_record->import_auth()

get_import_record_matches

Returns the Import::Record::Matches for the record optionally specify a 'chosen' param to get only the chosen match

    my $matches = $import_record->get_import_record_matches([{ chosen => 1 }])

replace

Replace an existing record ($auth or $biblio) with the import record.

    $import_record->replace({ biblio => $biblio | authority => $auth });
    # where $biblio and $auth are Koha objects

Internal methods

_type

Returns name of corresponding DBIC resultset

<<