You are here

public function JuiceboxGalleryDrupalInterface::init in Juicebox HTML5 Responsive Image Galleries 7.2

Initialize in preparation to represent a specific gallery.

Parameters

array $id_args: An indexed array of simple string arguments that describe this gallery. This is typically based on the arguments that will be used to create a URL for the gallery XML, but no formal structure is strictly required. This information should uniquely identify the gallery.

array $settings: An associative array of settings data for this gallery. This will typically contain both generic gallery settings (that pertain to this object) as well as formatter settings (that are only used externally by a formatter plugin).

mixed $data: Drupal source data that was used to build the gallery. This is included purely for reference.

1 method overrides JuiceboxGalleryDrupalInterface::init()
JuiceboxGalleryDrupal::init in includes/JuiceboxGalleryDrupal.inc
Initialize in preparation to represent a specific gallery.

File

includes/JuiceboxGalleryDrupalInterface.inc, line 34
Interface definition for a Juicebox gallery that includes Drupal functionality.

Class

JuiceboxGalleryDrupalInterface
Interface definition for a Juicebox gallery that includes Drupal functionality.

Code

public function init($id_args, $settings = array(), $data = NULL);