46 $this->lng->loadLanguageModule(
"ui");
47 return new $name($this->ui_factory, $this->tpl_factory, $this->lng, $this->js_binding);
59 $class = get_class($component);
60 $parts = explode(
"\\", $class);
61 $parts[count($parts) - 1] =
"Renderer";
62 $base = implode(
"\\", $parts);
getRendererNameFor(Component $component)
Get the name for the renderer of Component class.
Provides methods to interface with javascript.
This is the interface that components should use if they want to load specific renderers.
__construct(RootFactory $ui_factory, TemplateFactory $tpl_factory, \ilLanguage $lng, JavaScriptBinding $js_binding)
getRendererInContext(Component $component, array $contexts)
Interface for a factory that provides templates.