ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
NullTemplate Class Reference
+ Inheritance diagram for NullTemplate:
+ Collaboration diagram for NullTemplate:

Public Member Functions

 setCurrentBlock ($name)
 Set the block to work on. More...
 
 parseCurrentBlock ()
 Parse the block that is currently worked on. More...
 
 touchBlock ($name)
 Touch a block without working further on it. More...
 
 setVariable ($name, $value)
 Set a variable in the current block. More...
 
 get ($name=null)
 Get the rendered template or a specific block. More...
 
 addOnLoadCode ($code)
 Add some javascript to be executed on_load of the rendered page. More...
 

Detailed Description

Definition at line 57 of file AbstractRendererTest.php.

Member Function Documentation

◆ addOnLoadCode()

NullTemplate::addOnLoadCode (   $code)

Add some javascript to be executed on_load of the rendered page.

TODO: This seems to be no rendering, but a javascript concern. We should revise this when introducing patterns for javascript.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 63 of file AbstractRendererTest.php.

63 { return ""; }

◆ get()

NullTemplate::get (   $block = null)

Get the rendered template or a specific block.

Parameters
string | null$block
Returns
string

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 62 of file AbstractRendererTest.php.

62 { return ""; }

◆ parseCurrentBlock()

NullTemplate::parseCurrentBlock ( )

Parse the block that is currently worked on.

Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 59 of file AbstractRendererTest.php.

59 {}

◆ setCurrentBlock()

NullTemplate::setCurrentBlock (   $name)

Set the block to work on.

Parameters
string$name
Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 58 of file AbstractRendererTest.php.

58 {}

◆ setVariable()

NullTemplate::setVariable (   $name,
  $value 
)

Set a variable in the current block.

Parameters
string$name
mixed$valueshould be coercible to string
Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 61 of file AbstractRendererTest.php.

61 {}

◆ touchBlock()

NullTemplate::touchBlock (   $name)

Touch a block without working further on it.

Parameters
string$name
Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 60 of file AbstractRendererTest.php.

60 {}

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