71 $this->image_path_resolver
84 $class = get_class($component);
85 $parts = explode(
"\\", $class);
86 $parts[count($parts) - 1] =
"Renderer";
87 $base = implode(
"\\", $parts);
An exception for terminatinating execution or to throw for unit testing.
__construct(RootFactory $ui_factory, TemplateFactory $tpl_factory, \ilLanguage $lng, JavaScriptBinding $js_binding, Refinery $refinery, ImagePathResolver $image_path_resolver)
getRendererNameFor(Component $component)
Get the name for the renderer of Component class.
$image_path_resolver
ImagePathResolver.
getJSBinding()
@inheritdocs
getRendererInContext(Component $component, array $contexts)
@inheritdocs
A component is the most general form of an entity in the UI.
This is how the factory for UI elements looks.
Some Components need to resolve pathes to image-files.
Provides methods to interface with javascript.
This is the interface that components should use if they want to load specific renderers.
Interface for a factory that provides templates.