BeforeTransformTextForPersistenceEvent
FinalYes
Event that is fired before RteHtmlParser modified the HTML input from RTE editor to the database (for example transforming linebreaks)
Table of Contents
Methods
- __construct() : mixed
- getHtmlContent() : string
- getInitialHtmlContent() : string
- getProcessingConfiguration() : array<string|int, mixed>
- setHtmlContent() : void
Methods
__construct()
public
__construct(string $htmlContent, string $initialHtmlContent, array<string|int, mixed> $processingConfiguration) : mixed
Parameters
- $htmlContent : string
- $initialHtmlContent : string
- $processingConfiguration : array<string|int, mixed>
getHtmlContent()
public
getHtmlContent() : string
Return values
stringgetInitialHtmlContent()
public
getInitialHtmlContent() : string
Return values
stringgetProcessingConfiguration()
public
getProcessingConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>setHtmlContent()
public
setHtmlContent(string $htmlContent) : void
Parameters
- $htmlContent : string