Copied!

BeforeUpdateSectionEvent

BeforeUpdateSectionEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateSectionEvent.php : 27
public __construct(Section $section, SectionUpdateStruct $sectionUpdateStruct)

Parameters

Name Type Default value Description
$section Section - -
$sectionUpdateStruct SectionUpdateStruct - -

publicgetSection()

BeforeUpdateSectionEvent.php : 33
public getSection() : Section

Return values

Section

publicgetSectionUpdateStruct()

BeforeUpdateSectionEvent.php : 38
public getSectionUpdateStruct() : SectionUpdateStruct

Return values

SectionUpdateStruct

publicgetUpdatedSection()

BeforeUpdateSectionEvent.php : 43
public getUpdatedSection() : Section

Return values

Section

publichasUpdatedSection()

BeforeUpdateSectionEvent.php : 57
public hasUpdatedSection() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUpdatedSection()

BeforeUpdateSectionEvent.php : 52
public setUpdatedSection(Section|null $updatedSection) : void

Parameters

Name Type Default value Description
$updatedSection 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().