28 $path_parts = pathinfo(
$name);
29 switch ($path_parts[
"extension"]) {
31 $this->il_template->addJavaScript(
$name);
34 $this->il_template->addCss(
$name);
40 throw new \InvalidArgumentException(
"Can't handle resource '$name'");
Registry for resources required by rendered output like Javascript or CSS.
special template class to simplify handling of ITX/PEAR
__construct(\ilTemplate $il_template)
Plumbing for ILIAS, tries to guess.