[ Index ] |
PHP Cross Reference of phpBB-3.3.3-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 427 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct($defaultStrategy = 'html') X-Ref |
param: string|false|callable $defaultStrategy An escaping strategy |
getTokenParsers() X-Ref |
No description |
getNodeVisitors() X-Ref |
No description |
getFilters() X-Ref |
No description |
setDefaultStrategy($defaultStrategy) X-Ref |
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. param: string|false|callable $defaultStrategy An escaping strategy |
getDefaultStrategy($name) X-Ref |
Gets the default strategy to use when not defined by the user. return: string|false The default strategy to use for the template param: string $name The template name |
setEscaper($strategy, callable $callable) X-Ref |
Defines a new escaper to be used via the escape filter. param: string $strategy The strategy name that should be used as a strategy in the escape call param: callable $callable A valid PHP callable |
getEscapers() X-Ref |
Gets all defined escapers. return: callable[] An array of escapers |
setSafeClasses(array $safeClasses = []) X-Ref |
No description |
addSafeClass(string $class, array $strategies) X-Ref |
No description |
twig_raw_filter($string) X-Ref |
Marks a variable as being safe. return: string param: string $string A PHP variable |
twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoescape = false) X-Ref |
Escapes a string. return: string param: mixed $string The value to be escaped param: string $strategy The escaping strategy param: string $charset The charset param: bool $autoescape Whether the function is called by the auto-escaping feature (true) or by the developer (false) |
twig_escape_filter_is_safe(Node $filterArgs) X-Ref |
Generated: Sun Feb 14 20:08:31 2021 | Cross-referenced by PHPXref 0.7.1 |