VuFind API Documentation

HistoryLabel extends AbstractHelper
in package

"Search history label" view helper

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

Table of Contents

$config  : array<string|int, mixed>
Label configuration
$translator  : TransEsc
Translation helper
__construct()  : mixed
Constructor
__invoke()  : string
Return a label for the specified class (if configured).

Properties

$config

Label configuration

protected array<string|int, mixed> $config

Methods

__construct()

Constructor

public __construct(array<string|int, mixed> $config, TransEsc $translator) : mixed
Parameters
$config : array<string|int, mixed>

Label configuration

$translator : TransEsc

Translation helper

Return values
mixed

__invoke()

Return a label for the specified class (if configured).

public __invoke(string $class) : string
Parameters
$class : string

The search class ID of the active search

Return values
string

Search results