ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
19
interface
Twig_TemplateInterface
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
}
Twig_TemplateInterface
Interface implemented by all compiled templates.
Definition:
TemplateInterface.php:19
Twig_TemplateInterface\display
display(array $context, array $blocks=array())
Displays the template with the given context.
Twig_TemplateInterface\METHOD_CALL
const METHOD_CALL
Definition:
TemplateInterface.php:23
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Twig_TemplateInterface\render
render(array $context)
Renders the template with the given context and returns it as string.
Twig_TemplateInterface\ARRAY_CALL
const ARRAY_CALL
Definition:
TemplateInterface.php:22
Twig_TemplateInterface\ANY_CALL
const ANY_CALL
Definition:
TemplateInterface.php:21
Twig_TemplateInterface\getEnvironment
getEnvironment()
Returns the bound environment for this template.
libs
composer
vendor
twig
twig
lib
Twig
TemplateInterface.php
Generated on Tue Jan 28 2025 19:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)