TOCFactory
extends AbstractContentFactory
in package
Factory for building TOC tab.
Tags
Table of Contents
- $tabName : string
- The name of the tab being constructed.
- __invoke() : object
- Create an object
- getHideSetting() : bool
- Support method for construction of AbstractContent objects -- should we hide this tab if it is empty?
Properties
$tabName
The name of the tab being constructed.
protected
string
$tabName
= 'toc'
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 —getHideSetting()
Support method for construction of AbstractContent objects -- should we hide this tab if it is empty?
protected
getHideSetting(Config $config) : bool
Parameters
- $config : Config
-
VuFind configuration