38 $component_factory =
$DIC[
"component.factory"];
41 foreach ($component_factory->getActivePluginsInSlot(
"uihk") as
$plugin) {
45 $gui_class =
$plugin->getUIClassInstance();
46 $resp = $gui_class->getHTML($a_comp, $a_part, $a_pars);
48 $mode =
$resp[
'mode'];
50 $html =
$resp[
'html'];
53 $this->prepend[] = $html;
57 $this->append[] = $html;
62 $this->replace = $html;
80 public function getHTML(
string $html): string
85 foreach ($this->append as
$a) {
88 foreach ($this->prepend as $p) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples