32 if (!isset(self::$renderer[$a_context_obj_type])) {
33 $obj_def = $DIC[
"objDefinition"];
35 $comp = $obj_def->getComponentForType($a_context_obj_type);
36 $class = $obj_def->getClassName($a_context_obj_type);
38 $class =
"il" . $class .
"NewsRendererGUI";
39 $type_renderer_path =
"./" . $comp .
"/classes/class." . $class .
".php";
40 if (is_file($type_renderer_path)) {
45 self::$renderer[$a_context_obj_type] = $rend;
48 return self::$renderer[$a_context_obj_type];
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getRenderer(string $a_context_obj_type)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...