19 declare(strict_types=1);
    44         $tpl = $this->
getTemplate(
"tpl.messagebox.html", 
true, 
true);
    45         $tpl->setCurrentBlock(
"message_box");
    47         $tpl->setVariable(
"MESSAGE_TEXT", $component->getMessageText());
    48         $tpl->setVariable(
"ACC_TEXT", $this->
txt($component->getType() . 
"_message"));
    50             $tpl->setVariable(
"ROLE", 
"alert");
    52             $tpl->setVariable(
"ROLE", 
"status");
    56         $links = $component->getLinks();
    57         if (count($links) > 0) {
    58             $unordered = $ui_fac->listing()->unordered(
    62             $tpl->setVariable(
"LINK_LIST", $default_renderer->render($unordered));
    65         $tpl->touchBlock($component->getType() . 
"_class");
    67         $tpl->parseCurrentBlock();
 
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)
 
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...
 
cannotHandleComponent(Component $component)
This method MUST be called by derived component renderers, if. 
 
getUIFactory()
Get a UI factory. 
 
Base class for all component renderers.