AfterRecordIsRenderedEvent

FinalYes

Event which is fired after the CONTENT or RECORDS content object has rendered a single record, allowing listeners to modify the rendered content of the record.

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

Search results