public function JuiceboxGalleryInterface::renderXml in Juicebox HTML5 Responsive Image Galleries 7.2
Render the XML for a Juicebox gallery once images and options have been added.
Parameters
string $script_wrap_id: If a value is passed the XML will be wrapped inside <script> tags with this id. If no value is passed, no <script> wrapper will be used and the raw XML will be returned. This is useful if the XML will be embedded inside normal HTML.
Return value
string Structured Juicebox XML describing a gallery. Note that no header data is set or returned here.
2 methods override JuiceboxGalleryInterface::renderXml()
- JuiceboxGallery::renderXml in includes/
JuiceboxGallery.inc - Render the XML for a Juicebox gallery once images and options have been added.
- JuiceboxGalleryDecorator::renderXml in includes/
JuiceboxGalleryDecorator.inc - Render the XML for a Juicebox gallery once images and options have been added.
File
- includes/
JuiceboxGalleryInterface.inc, line 194 - Interface definition for a Juicebox gallery.
Class
- JuiceboxGalleryInterface
- Interface definition for a Juicebox gallery.
Code
public function renderXml($script_wrap_id = NULL);