ModifyRenderedRecordEvent

final class \TYPO3\CMS\Fluid\Event\ModifyRenderedRecordEvent

Event to modify the rendered record output.

This can be used to alter the final HTML of a record (eg. content element), for example to render a debug wrapper around it.

Table of Contents

Methods

__construct()  : mixed
getRecord()  : RecordInterface
getRenderedRecord()  : string
getRequest()  : ServerRequestInterface
setRenderedRecord()  : void
Set the rendered record's HTML.

Methods

__construct()

public __construct(string $renderedRecord, RecordInterface $record, ServerRequestInterface $request) : mixed

Parameters

$renderedRecord : string
$record : RecordInterface
$request : ServerRequestInterface

getRenderedRecord()

public getRenderedRecord() : string

Return values

string

getRequest()

public getRequest() : ServerRequestInterface

Return values

ServerRequestInterface

setRenderedRecord()

Set the rendered record's HTML.

public setRenderedRecord(string $renderedRecord) : void

Make sure to return escaped content if necessary.

Parameters

$renderedRecord : string
On this page