VuFind API Documentation

ExcerptFactory extends AbstractContentFactory
in package

Factory for building Excerpt tab.

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

$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 = 'excerpts'

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

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

Return values
bool

Search results