Koha::Exporter::Records - module to export records (biblios and authorities)
This module provides a public subroutine to export records as xml, csv or iso2709.
Koha::Exporter::Record::export($params);
$params is a hashref with some keys:
It will displays on STDOUT the generated file.
Must be set to 'bibs' or 'auths'
The list of the records to export (a list of biblionumber or authid)
The format must be 'csv', 'xml' or 'iso2709'.
Generate the item infos only for these itemnumbers. Must only be used with biblios.
If this flag is set, the items will be exported. Default is ON.
List of fields not to export.
If the format is csv, you have to define a csv_profile_id.
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>.