3 declare(strict_types=1);
49 $label = $component->getLabel();
51 if ($label !== null) {
52 $tpl->setCurrentBlock(
"label");
53 $tpl->setVariable(
"LABEL", $label);
54 $tpl->parseCurrentBlock();
55 $tpl->touchBlock(
"with_label");
57 $tpl->touchBlock(
"divider");
67 $tpl->touchBlock(
"divider");
78 Component\Divider\Horizontal::class,
79 Component\Divider\Vertical::class
checkComponent(Component $component)
Check if a given component fits this renderer and throw if that is not the case. ...
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...
getTemplate(string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks)
Get template of component this renderer is made for.
render(Component\Component $component, RendererInterface $default_renderer)
getComponentInterfaceName()
renderDividerHorizontal(Component\Divider\Horizontal $component)
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Base class for all component renderers.