Copied!

BeforeCreateSegmentGroupEvent

BeforeCreateSegmentGroupEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateSegmentGroupEvent.php : 22
public __construct(SegmentGroupCreateStruct $createStruct[, SegmentGroup|null $segmentGroupResult = null ])

Parameters

Name Type Default value Description
$createStruct SegmentGroupCreateStruct - -
$segmentGroupResult SegmentGroup|null null -

publicgetCreateStruct()

BeforeCreateSegmentGroupEvent.php : 28
public getCreateStruct() : SegmentGroupCreateStruct

Return values

SegmentGroupCreateStruct

publicgetSegmentGroupResult()

BeforeCreateSegmentGroupEvent.php : 33
public getSegmentGroupResult() : SegmentGroup

Return values

SegmentGroup

publichasSegmentGroupResult()

BeforeCreateSegmentGroupEvent.php : 49
public hasSegmentGroupResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetSegmentGroupResult()

BeforeCreateSegmentGroupEvent.php : 44
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().