<<

NAME

Koha::Util::MARC - utility class with routines for working with MARC records

METHODS

createMergeHash

Create a hash to use when merging MARC records

_createKey

Create a random value to set it into the input name

getAuthorityAuthorizedHeading

Retrieve the authorized heading from a MARC authority record

set_marc_field

    set_marc_field($record, $marcField, $value);

Set the value of $marcField to $value in $record. If the field exists, it will be updated. If not, it will be created.

Parameters

$record

MARC::Record object

$marcField

the MARC field to modify, a string in the form of 'XXX$y'

$value

the value

<<