[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Exposes a template to userland.
Author: | Fabien Potencier <fabien@symfony.com> |
File Size: | 145 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct(Environment $env, Template $template) X-Ref |
This method is for internal use only and should never be called directly (use Twig\Environment::load() instead). |
render(array $context = []) X-Ref |
Renders the template. param: array $context An array of parameters to pass to the template |
display(array $context = []) X-Ref |
Displays the template. param: array $context An array of parameters to pass to the template |
hasBlock(string $name, array $context = []) X-Ref |
Checks if a block is defined. param: string $name The block name param: array $context An array of parameters to pass to the template |
getBlockNames(array $context = []) X-Ref |
Returns defined block names in the template. param: array $context An array of parameters to pass to the template return: string[] An array of defined template block names |
renderBlock(string $name, array $context = []) X-Ref |
Renders a template block. param: string $name The block name to render param: array $context An array of parameters to pass to the template return: string The rendered block |
displayBlock(string $name, array $context = []) X-Ref |
Displays a template block. param: string $name The block name to render param: array $context An array of parameters to pass to the template |
getSourceContext() X-Ref |
No description |
getTemplateName() X-Ref |
No description |
unwrap() X-Ref |
return: Template |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |