VuFind API Documentation

SchemaOrgTest extends TestCase
in package

SchemaOrg View Helper Test Class

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

getHelper()  : SchemaOrg
Get a helper to test.
testDisabled()  : void
Test that the helper outputs nothing if disabled.
testEnabled()  : void
Test that the helper outputs content if enabled.

Methods

getHelper()

Get a helper to test.

public getHelper(bool $enabled) : SchemaOrg
Parameters
$enabled : bool

Should schema.org be enabled in the helper?

Return values
SchemaOrg

testDisabled()

Test that the helper outputs nothing if disabled.

public testDisabled() : void
Return values
void

testEnabled()

Test that the helper outputs content if enabled.

public testEnabled() : void
Return values
void

Search results