BeforeSectionMarkupGeneratedEvent
final class \
This event can be triggered to display content in any colPos before the first content element.
Table of Contents
Methods
- __construct() : mixed
- getColumnConfig() : array
- getContent() : string
- getLanguageId() : int
- getPageLayoutContext() : PageLayoutContext
- getPageLayoutView() : PageLayoutView
- getRecords() : array
- 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 $columnConfig, PageLayoutContext $pageLayoutContext, array $records) : mixed
Parameters
- $pageLayoutView : PageLayoutView
- $languageId : int
- $columnConfig : array
- $pageLayoutContext : PageLayoutContext
- $records : array
getColumnConfig()
public
getColumnConfig() : array
Return values
arraygetContent()
public
getContent() : string
Return values
stringgetLanguageId()
public
getLanguageId() : int
Deprecated
will be removed in v12
Return values
intgetPageLayoutContext()
public
getPageLayoutContext() : PageLayoutContext
Return values
PageLayoutContextgetPageLayoutView()
public
getPageLayoutView() : PageLayoutView
Deprecated
will be removed in v12
Return values
PageLayoutViewgetRecords()
public
getRecords() : array
Return values
arrayisPropagationStopped()
Prevent other listeners from being called if rendering is stopped by listener.
public
isPropagationStopped() : bool
Return values
boolsetContent()
public
setContent([string $content = '' ]) : void
Parameters
- $content : string = ''
setStopRendering()
public
setStopRendering(bool $stopRendering) : void
Parameters
- $stopRendering : bool