| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-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: | 185 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
extension:: (8 methods):
__construct()
getName()
getTokenParsers()
getFilters()
getFunctions()
getOperators()
loop_subset()
lang()
| __construct(\phpbb\template\context $context, $language) X-Ref |
| Constructor param: \phpbb\template\context $context param: \phpbb\language\language $language return: \phpbb\template\twig\extension |
| 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 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 |
| Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |