InjectTemplateListener
extends InjectTemplateListener
in package
VuFind "Inject Template" Listener -- this extends the core MVC class to adjust default template configurations to something more appropriate for VuFind.
Tags
Table of Contents
- $prefixes : array<string|int, mixed>
- List of prefixes for theme files
- __construct() : mixed
- InjectTemplateListener constructor.
- getPrefixes() : array<string|int, string>
- Get the prefixes recognized by the listener.
- inflectName() : string
- Inflect a name to a normalized value
Properties
$prefixes
List of prefixes for theme files
protected
array<string|int, mixed>
$prefixes
Methods
__construct()
InjectTemplateListener constructor.
public
__construct(array<string|int, string> $prefixes) : mixed
Parameters
- $prefixes : array<string|int, string>
-
List of prefixes for theme files
Return values
mixed —getPrefixes()
Get the prefixes recognized by the listener.
public
getPrefixes() : array<string|int, string>
Return values
array<string|int, string> —inflectName()
Inflect a name to a normalized value
protected
inflectName(string $name) : string
Parameters
- $name : string
-
Name to inflect