ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Template.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
6 
13 interface Template {
20  public function setCurrentBlock($name);
21 
27  public function parseCurrentBlock();
28 
35  public function touchBlock($name);
36 
44  public function setVariable($name, $value);
45 
52  public function get($block = null);
53 
60  public function addOnLoadCode($code);
61 }
$code
Definition: example_050.php:99
Interface to templating as it is used in the UI framework.
Definition: Template.php:13
addOnLoadCode($code)
Add some javascript to be executed on_load of the rendered page.
setCurrentBlock($name)
Set the block to work on.
parseCurrentBlock()
Parse the block that is currently worked on.
setVariable($name, $value)
Set a variable in the current block.
touchBlock($name)
Touch a block without working further on it.