<<

NAME

Koha::Authority::MergeRequest - Koha::Object class for single need_merge_authorities record

SYNOPSIS

use Koha::Authority::MergeRequest;

DESCRIPTION

Description

METHODS

INSTANCE METHODS

new

    $self->new({
        authid => $id,
        [ authid_new => $new, ]
        [ oldrecord => $marc, ]
    });

    authid refers to the old authority id,
    authid_new optionally refers to a new different authority id

    oldrecord is the MARC record belonging to the original authority record

    This method returns an object and initializes the reportxml property.

oldmarc

    my $record = $self->oldmarc;

    Convert reportxml back to MARC::Record.

CLASS METHODS

reporting_tag_xml

    my $xml = Koha::Authority::MergeRequest->reporting_tag_xml({
        record => $record, tag => $tag,
    });

_type

Returns name of corresponding DBIC resultset

AUTHOR

Marcel de Rooy (Rijksmuseum)

Koha Development Team

<<