46 return new $name($this->ui_factory, $this->tpl_factory, $this->lng, $this->js_binding);
58 $class = get_class($component);
59 $parts = explode(
"\\", $class);
60 $parts[count($parts)-1] =
"Renderer";
61 $base = implode(
"\\", $parts);
getRendererNameFor(Component $component)
Get the name for the renderer of Component class.
Provides methods to interface with javascript.
Create styles array
The data for the language used.
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.