VuFind API Documentation

RecordCollectionFactory
in package
implements RecordCollectionFactoryInterface

Simple XML-based factory for record collection.

Tags
category

VuFind

author

David Maus maus@hab.de

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link
https://vufind.org

Interfaces, Classes, Traits and Enums

RecordCollectionFactoryInterface
Search backend record collection factory interface.

Table of Contents

$collectionClass  : string
Class of collection.
$recordFactory  : callable
Factory to turn data into a record object.
__construct()  : void
Constructor.
factory()  : RecordCollection
Return record collection.

Properties

Methods

__construct()

Constructor.

public __construct([callable $recordFactory = null ][, string $collectionClass = null ]) : void
Parameters
$recordFactory : callable = null

Record factory function (null for default)

$collectionClass : string = null

Class of collection

Return values
void

Search results