[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 114 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FragmentHandler:: (4 methods):
__construct()
addRenderer()
render()
deliver()
Class: FragmentHandler - X-Ref
Renders a URI that represents a resource fragment.__construct(RequestStack $requestStack, array $renderers = [], $debug = false) X-Ref |
param: RequestStack $requestStack The Request stack that controls the lifecycle of requests param: FragmentRendererInterface[] $renderers An array of FragmentRendererInterface instances param: bool $debug Whether the debug mode is enabled or not |
addRenderer(FragmentRendererInterface $renderer) X-Ref |
Adds a renderer. |
render($uri, $renderer = 'inline', array $options = []) X-Ref |
Renders a URI and returns the Response content. Available options: * ignore_errors: true to return an empty string in case of an error param: string|ControllerReference $uri A URI as a string or a ControllerReference instance param: string $renderer The renderer name param: array $options An array of options return: string|null The Response content or null when the Response is streamed |
deliver(Response $response) X-Ref |
Delivers the Response as a string. When the Response is a StreamedResponse, the content is streamed immediately instead of being returned. return: string|null The Response content or null when the Response is streamed |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |