ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullDefaultRenderer Class Reference
+ Inheritance diagram for NullDefaultRenderer:
+ Collaboration diagram for NullDefaultRenderer:

Public Member Functions

 render ($component, ?Renderer $root=null)
 Render given component. More...
 
 renderAsync ($component, ?Renderer $root=null)
 Same as render, except that this version also returns any javascript code bound to the on load event, wrapped in a script tag. More...
 

Detailed Description

Definition at line 135 of file AbstractRendererTest.php.

Member Function Documentation

◆ render()

NullDefaultRenderer::render (   $component,
?Renderer  $root = null 
)

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
?Renderer$root of renderers in the chain to be used for rendering sub components.
Returns
string

Implements ILIAS\UI\Renderer.

Definition at line 137 of file AbstractRendererTest.php.

138  {
139  return "";
140  }

◆ renderAsync()

NullDefaultRenderer::renderAsync (   $component,
?Renderer  $root = null 
)

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
?Renderer$root of renderers in the chain to be used for rendering sub components.
Returns
string

Implements ILIAS\UI\Renderer.

Definition at line 141 of file AbstractRendererTest.php.

142  {
143  return '';
144  }

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