ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 69 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 87 of file AbstractRendererTest.php.

88  {
89  return "";
90  }

◆ 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 83 of file AbstractRendererTest.php.

84  {
85  return "";
86  }

◆ parseCurrentBlock()

NullTemplate::parseCurrentBlock ( )

Parse the block that is currently worked on.

Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 74 of file AbstractRendererTest.php.

75  {
76  }

◆ setCurrentBlock()

NullTemplate::setCurrentBlock (   $name)

Set the block to work on.

Parameters
string$name
Returns
null

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 71 of file AbstractRendererTest.php.

72  {
73  }

◆ 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 80 of file AbstractRendererTest.php.

81  {
82  }

◆ 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 77 of file AbstractRendererTest.php.

78  {
79  }

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