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
getLanguageId()  : int
getPageLayoutContext()  : PageLayoutContext
getPageLayoutView()  : PageLayoutView
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(PageLayoutView $pageLayoutView, int $languageId, array<string|int, mixed> $columnConfig, PageLayoutContext $pageLayoutContext, array<string|int, mixed> $records) : mixed
Parameters
$pageLayoutView : PageLayoutView
$languageId : int
$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

getLanguageId()

public getLanguageId() : int
Deprecated

will be removed in v12

Return values
int

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