VuFind API Documentation

Config extends AbstractHelper
in package

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

$configLoader  : PluginManager
Configuration plugin manager
__construct()  : mixed
Config constructor.
ajaxCoversEnabled()  : bool
Should covers be loaded via AJAX?
alwaysDisplayIndexRecordInStaffView()  : bool
Check if index record should always be displayed (i.e. also when a format-specific template is available)
get()  : Config
Get the specified configuration.
getHoldingsItemLimit()  : int
Should we limit the number of items displayed on the full record?
getRecordSubjectLimit()  : int
Should we limit the number of subjects displayed on the full record?
nonJavascriptSupportEnabled()  : bool
Is non-Javascript support enabled?
offcanvasSide()  : string|null
Get offcanvas sidebar side

Properties

Methods

__construct()

Config constructor.

public __construct(PluginManager $configLoader) : mixed
Parameters
$configLoader : PluginManager

Configuration loader

Return values
mixed

ajaxCoversEnabled()

Should covers be loaded via AJAX?

public ajaxCoversEnabled() : bool
Return values
bool

alwaysDisplayIndexRecordInStaffView()

Check if index record should always be displayed (i.e. also when a format-specific template is available)

public alwaysDisplayIndexRecordInStaffView() : bool
Return values
bool

get()

Get the specified configuration.

public get(string $config) : Config
Parameters
$config : string

Name of configuration

Return values
Config

getHoldingsItemLimit()

Should we limit the number of items displayed on the full record?

public getHoldingsItemLimit() : int
Return values
int

getRecordSubjectLimit()

Should we limit the number of subjects displayed on the full record?

public getRecordSubjectLimit() : int
Return values
int

nonJavascriptSupportEnabled()

Is non-Javascript support enabled?

public nonJavascriptSupportEnabled() : bool
Return values
bool

offcanvasSide()

Get offcanvas sidebar side

public offcanvasSide() : string|null
Return values
string|null

'left', 'right' or null for no offcanvas

Search results