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