Copied!

BeforeUpdateSegmentGroupEvent

BeforeUpdateSegmentGroupEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateSegmentGroupEvent.php : 24
public __construct(SegmentGroup $segmentGroup, SegmentGroupUpdateStruct $updateStruct[, SegmentGroup|null $segmentGroupResult = null ])

Parameters

Name Type Default value Description
$segmentGroup SegmentGroup - -
$updateStruct SegmentGroupUpdateStruct - -
$segmentGroupResult SegmentGroup|null null -

publicgetSegmentGroup()

BeforeUpdateSegmentGroupEvent.php : 34
public getSegmentGroup() : SegmentGroup

Return values

SegmentGroup

publicgetSegmentGroupResult()

BeforeUpdateSegmentGroupEvent.php : 44
public getSegmentGroupResult() : SegmentGroup

Return values

SegmentGroup

publicgetUpdateStruct()

BeforeUpdateSegmentGroupEvent.php : 39
public getUpdateStruct() : SegmentGroupUpdateStruct

Return values

SegmentGroupUpdateStruct

publichasSegmentGroupResult()

BeforeUpdateSegmentGroupEvent.php : 60
public hasSegmentGroupResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetSegmentGroupResult()

BeforeUpdateSegmentGroupEvent.php : 55
public setSegmentGroupResult(SegmentGroup|null $segmentGroupResult) : void

Parameters

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