VuFind API Documentation

ThemeConfig extends AbstractHelper
in package

Theme config 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

$themeInfo  : ThemeInfo
ThemeInfo object to access themeConfig
__construct()  : mixed
Constructor
__invoke()  : mixed|null
Returns config by path

Properties

Methods

__construct()

Constructor

public __construct(ThemeInfo $themeInfo) : mixed
Parameters
$themeInfo : ThemeInfo

ThemeInfo

Return values
mixed

__invoke()

Returns config by path

public __invoke([string|array<string|int, string> $path = [] ]) : mixed|null

Examples:

  • 'less' => all of less section
  • ['less'] => same as above
  • ['less', 'active'] => would return LESS active status
Parameters
$path : string|array<string|int, string> = []

Path to return from theme.config.php

Return values
mixed|null

Search results