You are here

public function JuiceboxGalleryInterface::getJavascriptVars in Juicebox HTML5 Responsive Image Galleries 7.2

Get the variables needed to instantiate a new JS Juicebox. These values can be used as direct constructor inputs for a new juicebox object.

Parameters

string $xml_url: The URL to the Juicebox XML for this gallery.

Return value

array An associative array of properties that can be used as direct constructor inputs for a new JS Juicebox object.

2 methods override JuiceboxGalleryInterface::getJavascriptVars()
JuiceboxGallery::getJavascriptVars in includes/JuiceboxGallery.inc
Get the variables needed to instantiate a new JS Juicebox. These values can be used as direct constructor inputs for a new juicebox object.
JuiceboxGalleryDecorator::getJavascriptVars in includes/JuiceboxGalleryDecorator.inc
Get the variables needed to instantiate a new JS Juicebox. These values can be used as direct constructor inputs for a new juicebox object.

File

includes/JuiceboxGalleryInterface.inc, line 233
Interface definition for a Juicebox gallery.

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Code

public function getJavascriptVars($xml_url);