<<

NAME

Koha::Objects::Record::Collections - Generic records collection handling class

SYNOPSIS

    use base qw(Koha::Objects Koha::Objects::Record::Collections);
    my $collections = Koha::Objects->print_collection($format);

DESCRIPTION

This class is provided as a generic way of handling a collection of records for Koha::Objects-based classes in Koha.

This class must always be subclassed.

API

Class methods

print_collection

    my $collection_text = $result_set->print_collection($format)

Return a text representation of a collection (group of records) in the specified format. Allowed formats are marcxml, mij, marc and txt. Defaults to marcxml.

<<