[ Index ] |
PHP Cross Reference of phpBB-3.1.12-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: | 205 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
environment:: (10 methods):
__construct()
get_phpbb_extensions()
get_phpbb_config()
get_phpbb_root_path()
get_web_root_path()
get_path_helper()
getNamespaceLookUpOrder()
setNamespaceLookUpOrder()
loadTemplate()
findTemplate()
Class: environment - X-Ref
__construct($phpbb_config, \phpbb\path_helper $path_helper, \phpbb\extension\manager $extension_manager = null, \Twig_LoaderInterface $loader = null, $options = array() X-Ref |
Constructor param: \phpbb\config\config $phpbb_config The phpBB configuration param: \phpbb\path_helper $path_helper phpBB path helper param: \phpbb\extension\manager $extension_manager phpBB extension manager param: \Twig_LoaderInterface $loader Twig loader interface param: array $options Array of options to pass to Twig |
get_phpbb_extensions() X-Ref |
Get the list of enabled phpBB extensions Used in EVENT node return: array |
get_phpbb_config() X-Ref |
Get phpBB config return: \phpbb\config\config |
get_phpbb_root_path() X-Ref |
Get the phpBB root path return: string |
get_web_root_path() X-Ref |
Get the web root path return: string |
get_path_helper() X-Ref |
Get the phpbb path helper object return: \phpbb\path_helper |
getNamespaceLookUpOrder() X-Ref |
Get the namespace look up order return: array |
setNamespaceLookUpOrder($namespace) X-Ref |
Set the namespace look up order to load templates from param: array $namespace return: \Twig_Environment |
loadTemplate($name, $index = null) X-Ref |
Loads a template by name. param: string $name The template name param: integer $index The index if it is an embedded template return: \Twig_TemplateInterface A template instance representing the given template name |
findTemplate($name) X-Ref |
Finds a template by name. param: string $name The template name return: string |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |