3declare(strict_types=1);
38 if ($component->getNumber() === 0) {
39 $tpl->touchBlock(
"hidden_" . $component->getType());
41 $tpl->setCurrentBlock($component->getType());
42 $tpl->setVariable(
"NUMBER", $component->getNumber());
43 $tpl->parseCurrentBlock();
52 parent::registerResources($registry);
53 $registry->
register(
'./src/UI/templates/js/Counter/dist/counter.js');
getComponentInterfaceName()
@inheritdocs
render(Component\Component $component, RendererInterface $default_renderer)
@inheritdocs
registerResources(ResourceRegistry $registry)
Announce resources this renderer requires.
Base class for all component renderers.
checkComponent(Component $component)
Check if a given component fits this renderer and throw \LogicError if that is not the case.
getTemplate(string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks)
Get template of component this renderer is made for.
Registry for resources required by rendered output like Javascript or CSS.
register(string $name)
Add a dependency.
An entity that renders components to a string output.
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...