ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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
14 {
21  public function setCurrentBlock($name);
22 
28  public function parseCurrentBlock();
29 
36  public function touchBlock($name);
37 
45  public function setVariable($name, $value);
46 
53  public function get($block = null);
54 
61  public function addOnLoadCode($code);
62 }
if($format !==null) $name
Definition: metadata.php:230
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.