ModifyRenderedContentAreaEvent
FinalYes
Event to modify the rendered content area output.
This can be used to alter the final HTML of a content area, for example to render a debug wrapper around it.
Table of Contents
Methods
- __construct() : mixed
- getContentArea() : ContentArea
- getRenderedContentArea() : string
- getRequest() : ServerRequestInterface
- setRenderedContentArea() : void
- Set the rendered content area's HTML.
Methods
__construct()
public
__construct(string $renderedContentArea, ContentArea $contentArea, ServerRequestInterface $request) : mixed
Parameters
- $renderedContentArea : string
- $contentArea : ContentArea
- $request : ServerRequestInterface
getContentArea()
public
getContentArea() : ContentArea
Return values
ContentAreagetRenderedContentArea()
public
getRenderedContentArea() : string
Return values
stringgetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacesetRenderedContentArea()
Set the rendered content area's HTML.
public
setRenderedContentArea(string $renderedContentArea) : void
Make sure to return escaped content if necessary.
Parameters
- $renderedContentArea : string