ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
FunctionInclude.php
Go to the documentation of this file.
1
<?
php
2
3
$env
=
new
Twig_Environment
(
new
Twig_Loader_Array
(array()));
4
$env
->addFunction(
new
Twig_SimpleFunction
(
'anonymous'
,
function
() {}));
5
6
return
$env
;
$env
$env
Definition:
FunctionInclude.php:3
Twig_SimpleFunction
Represents a template function.
Definition:
SimpleFunction.php:19
php
Twig_Environment
Stores the Twig configuration.
Definition:
Environment.php:17
Twig_Loader_Array
Loads a template from an array.
Definition:
Array.php:26
libs
composer
vendor
twig
twig
test
Twig
Tests
Node
Expression
PHP53
FunctionInclude.php
Generated on Thu Feb 27 2025 19:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)