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");
 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)
 
cannotHandleComponent(Component $component)
This method MUST be called by derived component renderers, if. 
 
renderDividerHorizontal(Component\Divider\Horizontal $component)
 
Base class for all component renderers.