19declare(strict_types=1);
41 foreach ($component->getItems() as $key => $crumb) {
44 if (!preg_match(
'/[a-zA-Z0-9\ ]$/', $crumb->getLabel())
45 && ($key === array_key_last($component->getItems()))) {
47 $tpl->
setVariable(
"LRMMARK", htmlspecialchars_decode(
"‎", ENT_HTML5));
render(Component\Component $component, RendererInterface $default_renderer)
Base class for all component renderers.
cannotHandleComponent(Component $component)
This method MUST be called by derived component renderers, if.
txt(string $id)
Get a text from the language file.
getTemplate(string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks)
Get template of component this renderer is made for.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
An entity that renders components to a string output.
readonly ilGlobalTemplateInterface $tpl