26 protected string $id =
"";
33 $this->tpl =
$DIC->ui()->mainTemplate();
37 public function setId(
string $a_val): void
49 $this->width = $a_val;
59 return "./Services/UIComponent/Lightbox/js/Lightbox.js";
66 if ($a_tpl ===
null) {
76 $tpl =
new ilTemplate(
"tpl.lightbox.html",
true,
true,
"Services/UIComponent/Lightbox");
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(string $a_id)
addLightbox(\ilGlobalTemplateInterface $a_tpl=null)
static getLocalLightboxJsPath()
ilGlobalTemplateInterface $tpl
special template class to simplify handling of ITX/PEAR
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addJavaScript(string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2)
Add a javascript file that should be included in the header.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.