3 declare(strict_types=1);
38 $tpl->setVariable(
"ARIA_LABEL", $this->
txt(
'breadcrumbs_aria_label'));
40 foreach ($component->getItems() as $crumb) {
41 $tpl->setCurrentBlock(
"crumbs");
42 $tpl->setVariable(
"CRUMB", $default_renderer->render($crumb));
43 $tpl->parseCurrentBlock();
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...
txt(string $id)
Get a text from the language file.
render(Component\Component $component, RendererInterface $default_renderer)
getComponentInterfaceName()
getTemplate(string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks)
Get template of component this renderer is made for.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Base class for all component renderers.