public function JuiceboxGalleryDecorator::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.
Overrides JuiceboxGalleryInterface::setId
1 call to JuiceboxGalleryDecorator::setId()
- JuiceboxGalleryDrupal::init in includes/
JuiceboxGalleryDrupal.inc - Initialize in preparation to represent a specific gallery.
File
- includes/
JuiceboxGalleryDecorator.inc, line 38 - Base decorator class for a Juicebox Gallery.
Class
- JuiceboxGalleryDecorator
- Base decorator class for a Juicebox Gallery.
Code
public function setId($value, $reset = TRUE) {
return $this->gallery
->setId($value, $reset);
}