ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
13interface 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}
An exception for terminatinating execution or to throw for unit testing.
$code
Definition: example_050.php:99
Interface to templating as it is used in the UI framework.
Definition: Template.php:14
setCurrentBlock($name)
Set the block to work on.
parseCurrentBlock()
Parse the block that is currently worked on.
addOnLoadCode($code)
Add some javascript to be executed on_load of the rendered page.
setVariable($name, $value)
Set a variable in the current block.
touchBlock($name)
Touch a block without working further on it.
if($format !==null) $name
Definition: metadata.php:146