|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
@final More...
Inheritance diagram for Twig_Extension_Escaper:
Collaboration diagram for Twig_Extension_Escaper:Public Member Functions | |
| __construct ($defaultStrategy='html') | |
| 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... | |
| setDefaultStrategy ($defaultStrategy) | |
| Sets the default strategy to use when not defined by the user. More... | |
| getDefaultStrategy ($name) | |
| Gets the default strategy to use when not defined by the user. More... | |
| 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 | |
| $defaultStrategy | |
@final
Definition at line 15 of file Escaper.php.
| Twig_Extension_Escaper::__construct | ( | $defaultStrategy = 'html' | ) |
| string | false | callable | $defaultStrategy | An escaping strategy |
Definition at line 24 of file Escaper.php.
References $defaultStrategy, and setDefaultStrategy().
Here is the call graph for this function:| Twig_Extension_Escaper::getDefaultStrategy | ( | $name | ) |
Gets the default strategy to use when not defined by the user.
| string | $name | The template name |
Definition at line 83 of file Escaper.php.
References $defaultStrategy, and $name.
| Twig_Extension_Escaper::getFilters | ( | ) |
Returns a list of filters to add to the existing list.
Reimplemented from Twig_Extension.
Definition at line 39 of file Escaper.php.
| Twig_Extension_Escaper::getName | ( | ) |
Reimplemented from Twig_Extension.
Definition at line 94 of file Escaper.php.
| Twig_Extension_Escaper::getNodeVisitors | ( | ) |
Returns the node visitor instances to add to the existing list.
Reimplemented from Twig_Extension.
Definition at line 34 of file Escaper.php.
| Twig_Extension_Escaper::getTokenParsers | ( | ) |
Returns the token parser instances to add to the existing list.
Reimplemented from Twig_Extension.
Definition at line 29 of file Escaper.php.
| Twig_Extension_Escaper::setDefaultStrategy | ( | $defaultStrategy | ) |
Sets the default strategy to use when not defined by the user.
The strategy can be a valid PHP callback that takes the template name as an argument and returns the strategy to use.
| string | false | callable | $defaultStrategy | An escaping strategy |
Definition at line 54 of file Escaper.php.
References $defaultStrategy.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 17 of file Escaper.php.
Referenced by __construct(), getDefaultStrategy(), and setDefaultStrategy().