VuFind API Documentation

AbstractFallbackLoader
in package
implements FallbackLoaderInterface

Abstract base class for fallback loaders

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Main Site

Interfaces, Classes, Traits and Enums

FallbackLoaderInterface
Record fallback loader interface

Table of Contents

$recordIdUpdater  : RecordIdUpdater
$resourceService  : ResourceServiceInterface
$searchService  : Service
$source  : string
Record source
__construct()  : mixed
Constructor
load()  : array<string|int, mixed>
Given an array of IDs that failed to load, try to find them using a fallback mechanism.
fetchSingleRecord()  : RecordCollectionInterface
Fetch a single record (null if not found).
updateRecord()  : void
When a record ID has changed, update the record driver and database to reflect the changes.

Properties

Methods

load()

Given an array of IDs that failed to load, try to find them using a fallback mechanism.

public load(array<string|int, mixed> $ids) : array<string|int, mixed>
Parameters
$ids : array<string|int, mixed>

IDs to load

Return values
array<string|int, mixed>

Search results