ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
NullTemplate Class Reference
+ Inheritance diagram for NullTemplate:
+ Collaboration diagram for NullTemplate:

Public Member Functions

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

Detailed Description

Definition at line 103 of file AbstractRendererTest.php.

Member Function Documentation

◆ addOnLoadCode()

NullTemplate::addOnLoadCode ( string  $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 129 of file AbstractRendererTest.php.

129  : void
130  {
131  }

◆ get()

NullTemplate::get ( string  $block = null)

Get the rendered template or a specific block.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 124 of file AbstractRendererTest.php.

124  : string
125  {
126  return "";
127  }

◆ parseCurrentBlock()

NullTemplate::parseCurrentBlock ( )

Parse the block that is currently worked on.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 110 of file AbstractRendererTest.php.

110  : bool
111  {
112  return true;
113  }

◆ setCurrentBlock()

NullTemplate::setCurrentBlock ( string  $name)

Set the block to work on.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 105 of file AbstractRendererTest.php.

105  : bool
106  {
107  return true;
108  }

◆ setVariable()

NullTemplate::setVariable ( string  $name,
  $value 
)

Set a variable in the current block.

Parameters
mixed$valueshould be possible to be cast to string.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 120 of file AbstractRendererTest.php.

120  : void
121  {
122  }

◆ touchBlock()

NullTemplate::touchBlock ( string  $name)

Touch a block without working further on it.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 115 of file AbstractRendererTest.php.

115  : bool
116  {
117  return true;
118  }

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