Event is the base class for classes containing event data.
This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.
You can call the method stopPropagation() to abort the execution of further listeners in your event listener.
Constants¶
NAME ¶
GenerateContentPreviewUrlEvent.php
:
16
|
|
|
Methods¶
__construct()
¶
GenerateContentPreviewUrlEvent.php
:
30
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $content | Content | - | - |
| $routeName | string | - | - |
| $parameters | array<string|int, mixed> | - | - |
| $referenceType | int | - | - |
addParameter()
¶
GenerateContentPreviewUrlEvent.php
:
74
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $parameterName | string | - | - |
| $parameterValue | string | - | - |
getContent()
¶
GenerateContentPreviewUrlEvent.php
:
38
|
|
|
Return values
getParameters()
¶
GenerateContentPreviewUrlEvent.php
:
61
|
|
|
Return values
array<string|int, mixed>
getReferenceType()
¶
GenerateContentPreviewUrlEvent.php
:
79
|
|
|
Return values
int
getRouteName()
¶
GenerateContentPreviewUrlEvent.php
:
48
|
|
|
Return values
string
isPropagationStopped()
¶
Event.php
:
38
|
|
|
Return values
bool
setContent()
¶
GenerateContentPreviewUrlEvent.php
:
43
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $content | Content | - | - |
setParameters()
¶
GenerateContentPreviewUrlEvent.php
:
69
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $parameters | array<string|int, mixed> | - | - |
setReferenceType()
¶
GenerateContentPreviewUrlEvent.php
:
84
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $referenceType | int | - | - |
setRouteName()
¶
GenerateContentPreviewUrlEvent.php
:
53
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $routeName | string | - | - |
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().