ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\UI\Implementation\Render\Template Interface Reference

Interface to templating as it is used in the UI framework. More...

+ Inheritance diagram for ILIAS\UI\Implementation\Render\Template:
+ Collaboration diagram for ILIAS\UI\Implementation\Render\Template:

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...
 

Detailed Description

Interface to templating as it is used in the UI framework.

This deliberately is much smaller than ilTemplate, there is a lot of stuff in there we should not be using here.

Definition at line 28 of file Template.php.

Member Function Documentation

◆ get()

ILIAS\UI\Implementation\Render\Template::get ( ?string  $block = null)

◆ parseCurrentBlock()

◆ setCurrentBlock()

◆ setVariable()

ILIAS\UI\Implementation\Render\Template::setVariable ( string  $name,
  $value 
)

◆ touchBlock()

ILIAS\UI\Implementation\Render\Template::touchBlock ( string  $name)

Touch a block without working further on it.

Implemented in ILIAS\UI\Implementation\Render\ilTemplateWrapper, and NullTemplate.

Referenced by ILIAS\UI\Implementation\Component\Table\Renderer\fillCells().

+ Here is the caller graph for this function:

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