| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
| Copyright: | (c) phpBB Limited |
| License: | GNU General Public License, version 2 (GPL-2.0) |
| File Size: | 218 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
extension:: (10 methods):
__construct()
getName()
getTokenParsers()
getFilters()
getFunctions()
getOperators()
loop_subset()
lang()
lang_defined()
lang_js()
| __construct(\phpbb\template\context $context, \phpbb\template\twig\environment $environment, $language) X-Ref |
| Constructor param: \phpbb\template\context $context param: \phpbb\template\twig\environment $environment param: \phpbb\language\language $language |
| getName() X-Ref |
| Get the name of this extension return: string |
| getTokenParsers() X-Ref |
| Returns the token parser instance to add to the existing list. return: array An array of \Twig\TokenParser\AbstractTokenParser instances |
| getFilters() X-Ref |
| Returns a list of filters to add to the existing list. return: array An array of filters |
| getFunctions() X-Ref |
| Returns a list of global functions to add to the existing list. return: array An array of global functions |
| getOperators() X-Ref |
| Returns a list of operators to add to the existing list. return: array An array of operators |
| loop_subset(\Twig\Environment $env, $item, $start, $end = null, $preserveKeys = false) X-Ref |
| Grabs a subset of a loop param: \Twig\Environment $env A Twig\Environment instance param: mixed $item A variable param: integer $start Start of the subset param: integer $end End of the subset param: boolean $preserveKeys Whether to preserve key or not (when the input is an array) return: mixed The sliced variable |
| lang() X-Ref |
| Get output for a language variable (L_FOO, LA_FOO) This function checks to see if the language var was outputted to $context (e.g. in the ACP, L_TITLE) If not, we return the result of $user->lang() return: string |
| lang_defined($key) X-Ref |
| Check if a language variable exists return: bool |
| lang_js() X-Ref |
| Get output for language variable in JS code |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |