ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
NullDefaultRenderer Class Reference
+ Inheritance diagram for NullDefaultRenderer:
+ Collaboration diagram for NullDefaultRenderer:

Public Member Functions

 render ($component)
 Render given component. More...
 
 renderAsync ($component)
 Same as render, except that this version also returns any javascript code bound to the on load event, wrapped in a script tag. More...
 
 withAdditionalContext (C\Component $context)
 
- Public Member Functions inherited from ILIAS\UI\Renderer
 withAdditionalContext (Component $context)
 Get a new renderer with an additional context. More...
 

Detailed Description

Definition at line 109 of file AbstractRendererTest.php.

Member Function Documentation

◆ render()

NullDefaultRenderer::render (   $component)

Render given component.

If an array of components is passed, this method returns a concatenated output of each rendered component, in the same order as given in the array

Parameters
Component|Component[]$component
Returns
string

Implements ILIAS\UI\Renderer.

Definition at line 111 of file AbstractRendererTest.php.

112  {
113  return "";
114  }

◆ renderAsync()

NullDefaultRenderer::renderAsync (   $component)

Same as render, except that this version also returns any javascript code bound to the on load event, wrapped in a script tag.

All javascript code stored for rendering will be removed after this output so it will not be rendered twice if render async is called multiple times.

Parameters
Component|Component[]$component
Returns
string

Implements ILIAS\UI\Renderer.

Definition at line 115 of file AbstractRendererTest.php.

116  {
117  return '';
118  }

◆ withAdditionalContext()

NullDefaultRenderer::withAdditionalContext ( C\Component  $context)

Definition at line 119 of file AbstractRendererTest.php.

120  {
121  return $this;
122  }

The documentation for this class was generated from the following file: