public function JuiceboxGalleryInterface::setId in Juicebox HTML5 Responsive Image Galleries 7.2
Setter method for the gallery ID (in case it was not passed in constructor).
Parameters
string $value: The gallery id value to set.
boolean $reset: Whether-or-not to reset the current value if it is already set.
Return value
boolean Returns TRUE on successful update and FALSE if update not performed.
2 methods override JuiceboxGalleryInterface::setId()
- JuiceboxGallery::setId in includes/
JuiceboxGallery.inc - Setter method for the gallery ID (in case it was not passed in constructor).
- JuiceboxGalleryDecorator::setId in includes/
JuiceboxGalleryDecorator.inc - Setter method for the gallery ID (in case it was not passed in constructor).
File
- includes/
JuiceboxGalleryInterface.inc, line 26 - Interface definition for a Juicebox gallery.
Class
- JuiceboxGalleryInterface
- Interface definition for a Juicebox gallery.
Code
public function setId($value, $reset = TRUE);