19 declare(strict_types=1);
45 $tpl = $this->
getTemplate(
"tpl.horizontal.html",
true,
true);
47 $label = $component->getLabel();
49 if ($label !==
null) {
50 $tpl->setCurrentBlock(
"label");
51 $tpl->setVariable(
"LABEL", $label);
52 $tpl->parseCurrentBlock();
53 $tpl->touchBlock(
"with_label");
55 $tpl->touchBlock(
"divider");
63 $tpl = $this->
getTemplate(
"tpl.vertical.html",
true,
true);
65 $tpl->touchBlock(
"divider");
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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)
cannotHandleComponent(Component $component)
This method MUST be called by derived component renderers, if.
renderDividerHorizontal(Component\Divider\Horizontal $component)
Base class for all component renderers.