[ 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: | 331 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
environment:: (16 methods):
__construct()
get_phpbb_extensions()
get_phpbb_config()
get_phpbb_root_path()
get_filesystem()
get_web_root_path()
get_path_helper()
get_assets_bag()
getNamespaceLookUpOrder()
setNamespaceLookUpOrder()
render()
display()
display_with_assets()
inject_assets()
loadTemplate()
findTemplate()
Class: environment - X-Ref
__construct(\phpbb\config\config $phpbb_config, \phpbb\filesystem\filesystem $filesystem, \phpbb\path_helper $path_helper, $cache_path, \phpbb\extension\manager $extension_manager = null, \Twig_LoaderInterface $loader = null, \phpbb\event\dispatcher_interface $phpbb_dispatcher = null, $options = array() X-Ref |
Constructor param: \phpbb\config\config $phpbb_config The phpBB configuration param: \phpbb\filesystem\filesystem $filesystem param: \phpbb\path_helper $path_helper phpBB path helper param: string $cache_path The path to the cache directory param: \phpbb\extension\manager $extension_manager phpBB extension manager param: \Twig_LoaderInterface $loader Twig loader interface param: \phpbb\event\dispatcher_interface $phpbb_dispatcher Event dispatcher object 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_filesystem() X-Ref |
Get the filesystem object return: \phpbb\filesystem\filesystem |
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 |
get_assets_bag() X-Ref |
Gets the assets bag return: assets_bag |
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 |
render($name, array $context = []) X-Ref |
{@inheritdoc} |
display($name, array $context = []) X-Ref |
{@inheritdoc} |
display_with_assets($name, array $context = []) X-Ref |
{@inheritdoc} |
inject_assets($output, $placeholder_salt) X-Ref |
Injects the assets (from INCLUDECSS/JS) in the output. param: string $output return: string |
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: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |