ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
TemplateInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
20 {
21  const ANY_CALL = 'any';
22  const ARRAY_CALL = 'array';
23  const METHOD_CALL = 'method';
24 
32  public function render(array $context);
33 
40  public function display(array $context, array $blocks = array());
41 
47  public function getEnvironment();
48 }
Interface implemented by all compiled templates.
display(array $context, array $blocks=array())
Displays the template with the given context.
Create styles array
The data for the language used.
render(array $context)
Renders the template with the given context and returns it as string.
getEnvironment()
Returns the bound environment for this template.