24 $tpl->setVariable(
"NAME", $component->getName());
25 $tpl->setVariable(
"ARIA_LABEL", $component->getAriaLabel());
26 $tpl->setVariable(
"SIZE", $component->getSize());
29 $tpl->setVariable(
"CUSTOMIMAGE", $component->getIconPath());
32 $ab = $component->getAbbreviation();
34 $tpl->setVariable(
"ABBREVIATION", $ab);
An exception for terminatinating execution or to throw for unit testing.
getComponentInterfaceName()
Get the name of the component-interface this renderer is supposed to render.ATTENTION: Fully qualifie...
Base class for all component renderers.
getTemplate($name, $purge_unfilled_vars, $purge_unused_blocks)
Get template of component this renderer is made for.
checkComponent(Component $component)
Check if a given component fits this renderer and throw \LogicError if that is not the case.
A component is the most general form of an entity in the UI.
render(Component $component, Renderer $default_renderer)
Render the component if possible and delegate additional rendering to the default_renderer.
An entity that renders components to a string output.