ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a security policy which need to be enforced when sandbox mode is enabled. More...
Public Member Functions | |
__construct (array $allowedTags=array(), array $allowedFilters=array(), array $allowedMethods=array(), array $allowedProperties=array(), array $allowedFunctions=array()) | |
setAllowedTags (array $tags) | |
setAllowedFilters (array $filters) | |
setAllowedMethods (array $methods) | |
setAllowedProperties (array $properties) | |
setAllowedFunctions (array $functions) | |
checkSecurity ($tags, $filters, $functions) | |
checkMethodAllowed ($obj, $method) | |
checkPropertyAllowed ($obj, $property) | |
Protected Attributes | |
$allowedTags | |
$allowedFilters | |
$allowedMethods | |
$allowedProperties | |
$allowedFunctions | |
Represents a security policy which need to be enforced when sandbox mode is enabled.
Definition at line 19 of file SecurityPolicy.php.
Twig_Sandbox_SecurityPolicy::__construct | ( | array | $allowedTags = array() , |
array | $allowedFilters = array() , |
||
array | $allowedMethods = array() , |
||
array | $allowedProperties = array() , |
||
array | $allowedFunctions = array() |
||
) |
Definition at line 27 of file SecurityPolicy.php.
References $allowedFilters, $allowedFunctions, $allowedMethods, $allowedProperties, $allowedTags, and setAllowedMethods().
Twig_Sandbox_SecurityPolicy::checkMethodAllowed | ( | $obj, | |
$method | |||
) |
Implements Twig_Sandbox_SecurityPolicyInterface.
Definition at line 85 of file SecurityPolicy.php.
Twig_Sandbox_SecurityPolicy::checkPropertyAllowed | ( | $obj, | |
$property | |||
) |
Implements Twig_Sandbox_SecurityPolicyInterface.
Definition at line 107 of file SecurityPolicy.php.
References array.
Twig_Sandbox_SecurityPolicy::checkSecurity | ( | $tags, | |
$filters, | |||
$functions | |||
) |
Implements Twig_Sandbox_SecurityPolicyInterface.
Definition at line 64 of file SecurityPolicy.php.
References $function, $tag, and $tags.
Twig_Sandbox_SecurityPolicy::setAllowedFilters | ( | array | $filters | ) |
Definition at line 41 of file SecurityPolicy.php.
Twig_Sandbox_SecurityPolicy::setAllowedFunctions | ( | array | $functions | ) |
Definition at line 59 of file SecurityPolicy.php.
Twig_Sandbox_SecurityPolicy::setAllowedMethods | ( | array | $methods | ) |
Definition at line 46 of file SecurityPolicy.php.
Referenced by __construct().
Twig_Sandbox_SecurityPolicy::setAllowedProperties | ( | array | $properties | ) |
Definition at line 54 of file SecurityPolicy.php.
Twig_Sandbox_SecurityPolicy::setAllowedTags | ( | array | $tags | ) |
Definition at line 36 of file SecurityPolicy.php.
References $tags.
|
protected |
Definition at line 22 of file SecurityPolicy.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file SecurityPolicy.php.
Referenced by __construct().
|
protected |
Definition at line 23 of file SecurityPolicy.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file SecurityPolicy.php.
Referenced by __construct().
|
protected |
Definition at line 21 of file SecurityPolicy.php.
Referenced by __construct().