| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Default base class for compiled templates.
| Author: | Fabien Potencier <fabien@symfony.com> |
| File Size: | 435 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct(Environment $env) X-Ref |
| No description |
| __toString() X-Ref |
| getSourceContext() X-Ref |
| Returns information about the original template source code. return: Source |
| getParent(array $context) X-Ref |
| Returns the parent template. This method is for internal use only and should never be called directly. return: Template|TemplateWrapper|false The parent template or false if there is no parent |
| doGetParent(array $context) X-Ref |
| No description |
| isTraitable() X-Ref |
| No description |
| displayParentBlock($name, array $context, array $blocks = []) X-Ref |
| Displays a parent block. This method is for internal use only and should never be called directly. param: string $name The block name to display from the parent param: array $context The context param: array $blocks The current set of blocks |
| displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) X-Ref |
| Displays a block. This method is for internal use only and should never be called directly. param: string $name The block name to display param: array $context The context param: array $blocks The current set of blocks param: bool $useBlocks Whether to use the current set of blocks |
| renderParentBlock($name, array $context, array $blocks = []) X-Ref |
| Renders a parent block. This method is for internal use only and should never be called directly. param: string $name The block name to render from the parent param: array $context The context param: array $blocks The current set of blocks return: string The rendered block |
| renderBlock($name, array $context, array $blocks = [], $useBlocks = true) X-Ref |
| Renders a block. This method is for internal use only and should never be called directly. param: string $name The block name to render param: array $context The context param: array $blocks The current set of blocks param: bool $useBlocks Whether to use the current set of blocks return: string The rendered block |
| hasBlock($name, array $context, array $blocks = []) X-Ref |
| Returns whether a block exists or not in the current context of the template. This method checks blocks defined in the current template or defined in "used" traits or defined in parent templates. param: string $name The block name param: array $context The context param: array $blocks The current set of blocks return: bool true if the block exists, false otherwise |
| getBlockNames(array $context, array $blocks = []) X-Ref |
| Returns all block names in the current context of the template. This method checks blocks defined in the current template or defined in "used" traits or defined in parent templates. param: array $context The context param: array $blocks The current set of blocks return: array An array of block names |
| loadTemplate($template, $templateName = null, $line = null, $index = null) X-Ref |
return: Template|TemplateWrapper |
| unwrap() X-Ref |
return: Template |
| getBlocks() X-Ref |
| Returns all blocks. This method is for internal use only and should never be called directly. return: array An array of blocks |
| display(array $context, array $blocks = []) X-Ref |
| No description |
| render(array $context) X-Ref |
| No description |
| displayWithErrorHandling(array $context, array $blocks = []) X-Ref |
| No description |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |