RecordDataFormatterFactory
in package
implements
FactoryInterface
Factory for record driver data formatting view helper
Tags
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()
$schemaOrgHelper
Schema.org view helper
protected
SchemaOrg
$schemaOrgHelper
= null
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
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>