Copied!

BeforeCreateSectionEvent

BeforeCreateSectionEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateSectionEvent.php : 24
public __construct(SectionCreateStruct $sectionCreateStruct)

Parameters

Name Type Default value Description
$sectionCreateStruct SectionCreateStruct - -

publicgetSection()

BeforeCreateSectionEvent.php : 34
public getSection() : Section

Return values

Section

publicgetSectionCreateStruct()

BeforeCreateSectionEvent.php : 29
public getSectionCreateStruct() : SectionCreateStruct

Return values

SectionCreateStruct

publichasSection()

BeforeCreateSectionEvent.php : 48
public hasSection() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetSection()

BeforeCreateSectionEvent.php : 43
public setSection(Section|null $section) : void

Parameters

Name Type Default value Description
$section Section|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().