18 declare(strict_types=1);
43 return "<p>{$component->getGreeting()}</p>";
52 $resource_registry->
register(
'some/asset/path');
Registry for resources required by rendered output like Javascript or CSS.
An entity that renders components to a string output.
Extend the DecoratedRenderer to align your renderer with other potential renderers in ILIAS...
manipulateRendering($component, Renderer $root)
__construct(ResourceRegistry $resource_registry, Renderer $default)
registerResources(ResourceRegistry $resource_registry)
register($name)
Add a dependency.
__construct(Container $dic, ilPlugin $plugin)
Some very basic component implementation.