VuFind API Documentation

SetupThemeResources extends AbstractHelper
in package

View helper for loading theme-related resources.

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

$container  : ResourceContainer
Theme resource container
__construct()  : mixed
Constructor
__invoke()  : void
Set up items based on contents of theme resource container.
addLinks()  : void
Add links to header.
addMetaTags()  : void
Add meta tags to header.
addScripts()  : void
Add scripts to header or footer.

Properties

Methods

__invoke()

Set up items based on contents of theme resource container.

public __invoke([bool $partial = false ]) : void
Parameters
$partial : bool = false

Whether rendering an HTML snippet instead of a full page

Return values
void

Add links to header.

protected addLinks([bool $partial = false ]) : void
Parameters
$partial : bool = false

Whether rendering an HTML snippet instead of a full page

Return values
void

addMetaTags()

Add meta tags to header.

protected addMetaTags() : void
Return values
void

addScripts()

Add scripts to header or footer.

protected addScripts() : void
Return values
void

Search results