| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 428 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. param: string $name The template name return: string|false The default strategy to use for the template |
| 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. param: string $string A PHP variable return: string |
| twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoescape = false) X-Ref |
| Escapes a 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) return: string |
| twig_escape_filter_is_safe(Node $filterArgs) X-Ref |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |