VuFind API Documentation

Metadata extends AbstractHelper
in package

Metadata view helper

Tags
category

VuFind

author

Mario Trojan mario.trojan@uni-tuebingen.de

license

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

link

Wiki

Table of Contents

$config  : Config
Metadata configuration entries
$metaHelper  : HeadMeta
Laminas meta helper, used to embed html tags in the generated page
$pluginManager  : PluginManager
Plugin Manager for vocabularies
__construct()  : mixed
Constructor
generateMetatags()  : void
Generate all metatags for RecordDriver and add to page
getVocabularies()  : array<string|int, mixed>
Get all active vocabularies for the current record.

Properties

$config

Metadata configuration entries

protected Config $config

$metaHelper

Laminas meta helper, used to embed html tags in the generated page

protected HeadMeta $metaHelper

Methods

__construct()

Constructor

public __construct(PluginManager $pm, Config $config, HeadMeta $metaHelper) : mixed
Parameters
$pm : PluginManager

Plugin manager

$config : Config

Configuration

$metaHelper : HeadMeta

Head meta helper

Return values
mixed

generateMetatags()

Generate all metatags for RecordDriver and add to page

public generateMetatags(AbstractBase $driver) : void

Decide which Plugins to load for the given RecordDriver dependant on configuration. (only by class name, namespace will not be considered)

Parameters
$driver : AbstractBase

Record driver

Return values
void

getVocabularies()

Get all active vocabularies for the current record.

protected getVocabularies(AbstractBase $driver) : array<string|int, mixed>
Parameters
$driver : AbstractBase

Record driver

Return values
array<string|int, mixed>

Search results