DoiLinkerInterface
in
DOI linker interface
Tags
Table of Contents
- 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.
Methods
getLinks()
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