19 declare(strict_types=1);
32 protected \
ILIAS\
UICore\GlobalTemplate $il_template,
39 public function register(
string $name):
void 41 $path_parts = pathinfo($name);
42 switch ($path_parts[
"extension"]) {
44 $this->il_template->addJavaScript($name,
true, 1);
47 $this->il_template->addCss($name);
Registry for resources required by rendered output like Javascript or CSS.
Interface Observer Contains several chained tasks and infos about them.
__construct(protected \ILIAS\UICore\GlobalTemplate $il_template,)
Plumbing for ILIAS, tries to guess.