BeforeSectionMarkupGeneratedEvent extends AbstractSectionMarkupGeneratedEvent

FinalYes

This event can be triggered to display content in any colPos before the first content element.

Table of Contents

Methods

__construct()  : mixed
getColumnConfig()  : array<string|int, mixed>
getContent()  : string
getPageLayoutContext()  : PageLayoutContext
getRecords()  : array<string|int, mixed>
isPropagationStopped()  : bool
Prevent other listeners from being called if rendering is stopped by listener.
setContent()  : void
setStopRendering()  : void

Methods

__construct()

public __construct(array<string|int, mixed> $columnConfig, PageLayoutContext $pageLayoutContext, array<string|int, mixed> $records) : mixed
Parameters
$columnConfig : array<string|int, mixed>
$pageLayoutContext : PageLayoutContext
$records : array<string|int, mixed>

getColumnConfig()

public getColumnConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

getContent()

public getContent() : string
Return values
string

getRecords()

public getRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>

isPropagationStopped()

Prevent other listeners from being called if rendering is stopped by listener.

public isPropagationStopped() : bool
Return values
bool

setContent()

public setContent([string $content = '' ]) : void
Parameters
$content : string = ''

setStopRendering()

public setStopRendering(bool $stopRendering) : void
Parameters
$stopRendering : bool

        
On this page

Search results