|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
@final More...
Inheritance diagram for Twig_Extension_Sandbox:
Collaboration diagram for Twig_Extension_Sandbox:Public Member Functions | |
| __construct (Twig_Sandbox_SecurityPolicyInterface $policy, $sandboxed=false) | |
| getTokenParsers () | |
| Returns the token parser instances to add to the existing list. More... | |
| getNodeVisitors () | |
| Returns the node visitor instances to add to the existing list. More... | |
| enableSandbox () | |
| disableSandbox () | |
| isSandboxed () | |
| isSandboxedGlobally () | |
| setSecurityPolicy (Twig_Sandbox_SecurityPolicyInterface $policy) | |
| getSecurityPolicy () | |
| checkSecurity ($tags, $filters, $functions) | |
| checkMethodAllowed ($obj, $method) | |
| checkPropertyAllowed ($obj, $method) | |
| ensureToStringAllowed ($obj) | |
| getName () | |
Public Member Functions inherited from Twig_Extension | |
| initRuntime (Twig_Environment $environment) | |
| getTokenParsers () | |
| Returns the token parser instances to add to the existing list. More... | |
| getNodeVisitors () | |
| Returns the node visitor instances to add to the existing list. More... | |
| getFilters () | |
| Returns a list of filters to add to the existing list. More... | |
| getTests () | |
| Returns a list of tests to add to the existing list. More... | |
| getFunctions () | |
| Returns a list of functions to add to the existing list. More... | |
| getOperators () | |
| Returns a list of operators to add to the existing list. More... | |
| getGlobals () | |
| getName () | |
| initRuntime (Twig_Environment $environment) | |
| Initializes the runtime environment. More... | |
| getTokenParsers () | |
| Returns the token parser instances to add to the existing list. More... | |
| getNodeVisitors () | |
| Returns the node visitor instances to add to the existing list. More... | |
| getFilters () | |
| Returns a list of filters to add to the existing list. More... | |
| getTests () | |
| Returns a list of tests to add to the existing list. More... | |
| getFunctions () | |
| Returns a list of functions to add to the existing list. More... | |
| getOperators () | |
| Returns a list of operators to add to the existing list. More... | |
| getGlobals () | |
| Returns a list of global variables to add to the existing list. More... | |
| getName () | |
| Returns the name of the extension. More... | |
Protected Attributes | |
| $sandboxedGlobally | |
| $sandboxed | |
| $policy | |
@final
Definition at line 15 of file Sandbox.php.
| Twig_Extension_Sandbox::__construct | ( | Twig_Sandbox_SecurityPolicyInterface | $policy, |
$sandboxed = false |
|||
| ) |
Definition at line 21 of file Sandbox.php.
References $policy, and $sandboxed.
| Twig_Extension_Sandbox::checkMethodAllowed | ( | $obj, | |
| $method | |||
| ) |
Definition at line 74 of file Sandbox.php.
References isSandboxed().
Here is the call graph for this function:| Twig_Extension_Sandbox::checkPropertyAllowed | ( | $obj, | |
| $method | |||
| ) |
Definition at line 81 of file Sandbox.php.
References isSandboxed().
Here is the call graph for this function:| Twig_Extension_Sandbox::checkSecurity | ( | $tags, | |
| $filters, | |||
| $functions | |||
| ) |
Definition at line 67 of file Sandbox.php.
References $tags, and isSandboxed().
Here is the call graph for this function:| Twig_Extension_Sandbox::disableSandbox | ( | ) |
Definition at line 42 of file Sandbox.php.
| Twig_Extension_Sandbox::enableSandbox | ( | ) |
Definition at line 37 of file Sandbox.php.
| Twig_Extension_Sandbox::ensureToStringAllowed | ( | $obj | ) |
Definition at line 88 of file Sandbox.php.
References isSandboxed().
Here is the call graph for this function:| Twig_Extension_Sandbox::getName | ( | ) |
Reimplemented from Twig_Extension.
Definition at line 97 of file Sandbox.php.
| Twig_Extension_Sandbox::getNodeVisitors | ( | ) |
Returns the node visitor instances to add to the existing list.
Reimplemented from Twig_Extension.
Definition at line 32 of file Sandbox.php.
| Twig_Extension_Sandbox::getSecurityPolicy | ( | ) |
| Twig_Extension_Sandbox::getTokenParsers | ( | ) |
Returns the token parser instances to add to the existing list.
Reimplemented from Twig_Extension.
Definition at line 27 of file Sandbox.php.
| Twig_Extension_Sandbox::isSandboxed | ( | ) |
Definition at line 47 of file Sandbox.php.
References $sandboxed.
Referenced by checkMethodAllowed(), checkPropertyAllowed(), checkSecurity(), and ensureToStringAllowed().
Here is the caller graph for this function:| Twig_Extension_Sandbox::isSandboxedGlobally | ( | ) |
| Twig_Extension_Sandbox::setSecurityPolicy | ( | Twig_Sandbox_SecurityPolicyInterface | $policy | ) |
Definition at line 57 of file Sandbox.php.
References $policy.
|
protected |
Definition at line 19 of file Sandbox.php.
Referenced by __construct(), getSecurityPolicy(), and setSecurityPolicy().
|
protected |
Definition at line 18 of file Sandbox.php.
Referenced by __construct(), and isSandboxed().
|
protected |
Definition at line 17 of file Sandbox.php.
Referenced by isSandboxedGlobally().