VuFind API Documentation

Demo
in package
implements DoiLinkerInterface

Demo (fake data) DOI linker

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Wiki

Interfaces, Classes, Traits and Enums

DoiLinkerInterface
DOI linker interface

Table of Contents

$icons  : array<string|int, mixed>
Possible icon values
getLinks()  : array<string|int, mixed>
Given an array of DOIs, perform a lookup and return an associative array of arrays, keyed by DOI. Each array contains one or more associative arrays with required 'link' (URL to related resource) and 'label' (display text) keys and an optional 'icon' (URL to icon graphic) or localIcon (name of configured icon in theme) key.

Properties

$icons

Possible icon values

protected array<string|int, mixed> $icons = ['browzine-issue', 'browzine-pdf', null]

Methods

Given an array of DOIs, perform a lookup and return an associative array of arrays, keyed by DOI. Each array contains one or more associative arrays with required 'link' (URL to related resource) and 'label' (display text) keys and an optional 'icon' (URL to icon graphic) or localIcon (name of configured icon in theme) key.

public getLinks(array<string|int, mixed> $doiArray) : array<string|int, mixed>
Parameters
$doiArray : array<string|int, mixed>

DOIs to look up

Return values
array<string|int, mixed>

Search results