[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 187 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TwigRendererEngine:: (4 methods):
setEnvironment()
renderBlock()
loadResourceForBlockName()
loadResourcesFromTheme()
Class: TwigRendererEngine - X-Ref
setEnvironment(Environment $environment) X-Ref |
{@inheritdoc} |
renderBlock(FormView $view, $resource, $blockName, array $variables = array() X-Ref |
{@inheritdoc} |
loadResourceForBlockName($cacheKey, FormView $view, $blockName) X-Ref |
Loads the cache with the resource for a given block name. This implementation eagerly loads all blocks of the themes assigned to the given view and all of its ancestors views. This is necessary, because Twig receives the list of blocks later. At that point, all blocks must already be loaded, for the case that the function "block()" is used in the Twig template. param: string $cacheKey The cache key of the form view param: FormView $view The form view for finding the applying themes param: string $blockName The name of the block to load return: bool True if the resource could be loaded, false otherwise |
loadResourcesFromTheme($cacheKey, &$theme) X-Ref |
Loads the resources for all blocks in a theme. param: string $cacheKey The cache key for storing the resource param: mixed $theme The theme to load the block from. This parameter |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |