[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 162 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FragmentHandler:: (6 methods):
__construct()
addRenderer()
setRequest()
render()
deliver()
getRequest()
Class: FragmentHandler - X-Ref
Renders a URI that represents a resource fragment.__construct($requestStack = null, $renderers = array() X-Ref |
RequestStack will become required in 3.0. 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. |
setRequest(Request $request = null) X-Ref |
Sets the current Request. This method was used to synchronize the Request, but as the HttpKernel is doing that automatically now, you should never call it directly. It is kept public for BC with the 2.3 version. param: Request|null $request A Request instance |
render($uri, $renderer = 'inline', array $options = array() 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 |
getRequest() X-Ref |
No description |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |