VuFind API Documentation

AbstractBase
in package
implements DriverInterface

AbstractBase for Resolver Driver

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

DriverInterface
Resolver Specific Driver Class

Table of Contents

$baseUrl  : string
Base URL for link resolver
__construct()  : mixed
Constructor
getResolverUrl()  : string
Get Resolver Url
supportsMoreOptionsLink()  : bool
This controls whether a "More options" link will be shown below the fetched resolver links eventually linking to the resolver page previously being parsed.

Properties

$baseUrl

Base URL for link resolver

protected string $baseUrl

Methods

__construct()

Constructor

public __construct(string $baseUrl) : mixed
Parameters
$baseUrl : string

Base URL for link resolver

Return values
mixed

getResolverUrl()

Get Resolver Url

public getResolverUrl(string $openURL) : string

Transform the OpenURL as needed to get a working link to the resolver.

Parameters
$openURL : string

openURL (url-encoded)

Return values
string

Returns resolver specific url

This controls whether a "More options" link will be shown below the fetched resolver links eventually linking to the resolver page previously being parsed.

public supportsMoreOptionsLink() : bool

This is especially useful for resolver such as the JOP resolver returning XML which would not be of any immediate use for the user.

Return values
bool

Search results