FormActionEvent
FormActionEvent.php
:
14
Extends FormEvent
Methods¶
__construct()
¶
FormActionEvent.php
:
44
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$form | FormInterface | - | - |
$data | mixed | - | - |
$clickedButton | string|null | - | - |
$options | array<string|int, mixed> | [] | - |
$payloads | array<string|int, mixed> | [] | - |
getClickedButton()
¶
FormActionEvent.php
:
57
|
|
Return values
string|null
getOption()
¶
FormActionEvent.php
:
73
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$optionName | string | - |
The option name |
$defaultValue | mixed | null |
default value to return if option is not set |
getOptions()
¶
FormActionEvent.php
:
62
|
|
Return values
array<string|int, mixed>
getPayload()
¶
FormActionEvent.php
:
117
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
getPayloads()
¶
FormActionEvent.php
:
102
|
|
Return values
array<string|int, mixed>
getResponse()
¶
FormActionEvent.php
:
87
|
|
Return values
Response|null
hasOption()
¶
FormActionEvent.php
:
82
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$optionName | string | - | - |
Return values
bool
hasPayload()
¶
FormActionEvent.php
:
112
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
Return values
bool
hasResponse()
¶
FormActionEvent.php
:
97
|
|
Return values
bool
setPayload()
¶
FormActionEvent.php
:
122
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
$payload | mixed | - | - |
setPayloads()
¶
FormActionEvent.php
:
107
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$payloads | array<string|int, mixed> | - | - |
setResponse()
¶
FormActionEvent.php
:
92
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$response | Response | - | - |