ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)
 
 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...
 

Detailed Description

Definition at line 87 of file AbstractRendererTest.php.

Member Function Documentation

◆ addOnLoadCode()

NullTemplate::addOnLoadCode ( string  $code)

Definition at line 113 of file AbstractRendererTest.php.

113 : void
114 {
115 }

◆ get()

NullTemplate::get ( ?string  $block = null)

Get the rendered template or a specific block.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 108 of file AbstractRendererTest.php.

108 : string
109 {
110 return "";
111 }

◆ parseCurrentBlock()

NullTemplate::parseCurrentBlock ( )

Parse the block that is currently worked on.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 94 of file AbstractRendererTest.php.

94 : bool
95 {
96 return true;
97 }

◆ setCurrentBlock()

NullTemplate::setCurrentBlock ( string  $name)

Set the block to work on.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 89 of file AbstractRendererTest.php.

89 : bool
90 {
91 return true;
92 }

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

104 : void
105 {
106 }

◆ touchBlock()

NullTemplate::touchBlock ( string  $name)

Touch a block without working further on it.

Implements ILIAS\UI\Implementation\Render\Template.

Definition at line 99 of file AbstractRendererTest.php.

99 : bool
100 {
101 return true;
102 }

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