ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Default autoescaping strategy based on file names. More...
Static Public Member Functions | |
static | guess ($name) |
Guesses the best autoescaping strategy based on the file name. More... | |
Default autoescaping strategy based on file names.
This strategy sets the HTML as the default autoescaping strategy, but changes it based on the template name.
Note that there is no runtime performance impact as the default autoescaping strategy is set at compilation time.
Definition at line 23 of file FileExtensionEscapingStrategy.php.
|
static |
Guesses the best autoescaping strategy based on the file name.
string | $name | The template name |
Definition at line 32 of file FileExtensionEscapingStrategy.php.
References $name.
Referenced by Twig_Tests_FileExtensionEscapingStrategyTest\testGuess().