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.
Methods¶
__construct()
¶
BrandContextAttributeRenderEvent.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $templates | array<int, string> | - | - |
| $attributeValue | BrandContextAttributeValueInterface | - | - |
| $parameters | array<string, mixed> | [] | - |
addTemplateAfter()
¶
BrandContextAttributeRenderEvent.php
:
82
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $template | string | - | - |
| $targetTemplate | string | - | - |
Tags
addTemplateBefore()
¶
BrandContextAttributeRenderEvent.php
:
72
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $template | string | - | - |
| $targetTemplate | string | - | - |
Tags
appendTemplate()
¶
BrandContextAttributeRenderEvent.php
:
59
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $template | string | - | - |
getAttributeValue()
¶
BrandContextAttributeRenderEvent.php
:
94
|
|
|
Return values
BrandContextAttributeValueInterface
getParameters()
¶
BrandContextAttributeRenderEvent.php
:
30
|
|
|
Return values
array<string, mixed>
getTemplates()
¶
BrandContextAttributeRenderEvent.php
:
46
|
|
|
Return values
array<int, string>
hasTemplate()
¶
BrandContextAttributeRenderEvent.php
:
89
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $template | string | - | - |
Return values
bool
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
prependTemplate()
¶
BrandContextAttributeRenderEvent.php
:
64
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $template | string | - | - |
setParameters()
¶
BrandContextAttributeRenderEvent.php
:
38
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $parameters | array<string, mixed> | - | - |
setTemplates()
¶
BrandContextAttributeRenderEvent.php
:
54
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $templates | array<int, string> | - | - |
stopPropagation()
¶
Event.php
:
47
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().