VuFind API Documentation

RecordDataFormatterFactory
in package
implements FactoryInterface

Factory for record driver data formatting 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

Interfaces, Classes, Traits and Enums

FactoryInterface

Table of Contents

$authorOrder  : array<string, int>
The order in which groups of authors are displayed.
$schemaOrgHelper  : SchemaOrg
Schema.org view helper
__invoke()  : object
Create an object
getDefaultCollectionInfoSpecs()  : array<string|int, mixed>
Get default specifications for displaying data in collection-info metadata.
getDefaultCollectionRecordSpecs()  : array<string|int, mixed>
Get default specifications for displaying data in collection-record metadata.
getDefaultCoreSpecs()  : array<string|int, mixed>
Get default specifications for displaying data in core metadata.
getDefaultDescriptionSpecs()  : array<string|int, mixed>
Get default specifications for displaying data in the description tab.
getAuthorFunction()  : callable
Get the callback function for processing authors.
getLanguageLineSettings()  : array<string|int, mixed>
Get the settings for formatting language lines.

Properties

$authorOrder

The order in which groups of authors are displayed.

protected array<string, int> $authorOrder = ['primary' => 1, 'corporate' => 2, 'secondary' => 3]

The dictionary keys here correspond to the dictionary keys in the $labels array in getAuthorFunction()

Methods

__invoke()

Create an object

public __invoke(ContainerInterface $container, string $requestedName[, null|array<string|int, mixed> $options = null ]) : object
Parameters
$container : ContainerInterface

Service manager

$requestedName : string

Service being created

$options : null|array<string|int, mixed> = null

Extra options (optional)

Tags
throws
ServiceNotFoundException

if unable to resolve the service.

throws
ServiceNotCreatedException

if an exception is raised when creating a service.

throws
ContainerExceptionInterface|Throwable

if any other error occurs

SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
object

getDefaultCollectionInfoSpecs()

Get default specifications for displaying data in collection-info metadata.

public getDefaultCollectionInfoSpecs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultCollectionRecordSpecs()

Get default specifications for displaying data in collection-record metadata.

public getDefaultCollectionRecordSpecs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultCoreSpecs()

Get default specifications for displaying data in core metadata.

public getDefaultCoreSpecs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultDescriptionSpecs()

Get default specifications for displaying data in the description tab.

public getDefaultDescriptionSpecs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAuthorFunction()

Get the callback function for processing authors.

protected getAuthorFunction() : callable
Return values
callable

getLanguageLineSettings()

Get the settings for formatting language lines.

protected getLanguageLineSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results