<<

NAME

Koha::Exporter::Records - module to export records (biblios and authorities)

SYNOPSIS

This module provides a public subroutine to export records as xml, csv or iso2709.

FUNCTIONS

export

    Koha::Exporter::Record::export($params);

$params is a hashref with some keys:

It will displays on STDOUT the generated file.

record_type
  Must be set to 'bibs' or 'auths'
record_ids
  The list of the records to export (a list of biblionumber or authid)
format
  The format must be 'csv', 'xml' or 'iso2709'.
itemnumbers
  Generate the item infos only for these itemnumbers.

  Must only be used with biblios.
export_items
  If this flag is set, the items will be exported.
  Default is ON.
dont_export_fields
  List of fields not to export.
csv_profile_id
  If the format is csv, a csv_profile_id can be provide to overwrite the default value (syspref ExportWithCsvProfile).

LICENSE

This file is part of Koha.

Copyright Koha Development Team

Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

Koha is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Koha; if not, see <http://www.gnu.org/licenses>.

<<