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

getRenderedContentArea()

public getRenderedContentArea() : string
Return values
string

getRequest()

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

setRenderedContentArea()

Set the rendered content area's HTML.

public setRenderedContentArea(string $renderedContentArea) : void

Make sure to return escaped content if necessary.

Parameters
$renderedContentArea : string

        
On this page

Search results