Event emitted before action execution.
Methods¶
__construct() ¶
BeforeUpdateSegmentEvent.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segment | Segment | - | - |
$updateStruct | SegmentUpdateStruct | - | - |
$segmentResult | Segment|null | null | - |
getSegment() ¶
BeforeUpdateSegmentEvent.php
:
31
|
|
Return values
Segment
getSegmentResult() ¶
BeforeUpdateSegmentEvent.php
:
41
|
|
Return values
Segment
getUpdateStruct() ¶
BeforeUpdateSegmentEvent.php
:
36
|
|
Return values
SegmentUpdateStruct
hasSegmentResult() ¶
BeforeUpdateSegmentEvent.php
:
57
|
|
Return values
bool
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setSegmentResult() ¶
BeforeUpdateSegmentEvent.php
:
52
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentResult | Segment|null | - | - |
stopPropagation() ¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().