ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
SecurityNotAllowedFunctionError.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
17
class
Twig_Sandbox_SecurityNotAllowedFunctionError
extends
Twig_Sandbox_SecurityError
18
{
19
private
$functionName
;
20
21
public
function
__construct
(
$message
,
$functionName
,
$lineno
= -1,
$filename
= null,
Exception
$previous
= null)
22
{
23
parent::__construct(
$message
,
$lineno
,
$filename
,
$previous
);
24
$this->functionName =
$functionName
;
25
}
26
27
public
function
getFunctionName
()
28
{
29
return
$this->functionName
;
30
}
31
}
32
33
class_alias(
'Twig_Sandbox_SecurityNotAllowedFunctionError'
,
'Twig\Sandbox\SecurityNotAllowedFunctionError'
,
false
);
Twig_Sandbox_SecurityError
Exception thrown when a security error occurs at runtime.
Definition:
SecurityError.php:17
Twig_Error\$previous
$previous
Definition:
Error.php:40
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
Twig_Sandbox_SecurityNotAllowedFunctionError\__construct
__construct($message, $functionName, $lineno=-1, $filename=null, Exception $previous=null)
Definition:
SecurityNotAllowedFunctionError.php:21
Twig_Sandbox_SecurityNotAllowedFunctionError
Exception thrown when a not allowed function is used in a template.
Definition:
SecurityNotAllowedFunctionError.php:17
Twig_Sandbox_SecurityNotAllowedFunctionError\getFunctionName
getFunctionName()
Definition:
SecurityNotAllowedFunctionError.php:27
Twig_Error\$filename
$filename
Definition:
Error.php:38
Twig_Error\$lineno
$lineno
Definition:
Error.php:36
Twig_Sandbox_SecurityNotAllowedFunctionError\$functionName
$functionName
Definition:
SecurityNotAllowedFunctionError.php:19
Exception
libs
composer
vendor
twig
twig
lib
Twig
Sandbox
SecurityNotAllowedFunctionError.php
Generated on Sat Jan 18 2025 19:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)