SubmitButton
class SubmitButton extends Button implements ClickableInterface
A button that submits the form.
Methods
Unsupported method.
Submits data to the button.
Returns whether this element was clicked.
Details
in Button at line line 44
__construct(FormConfigInterface $config)
Creates a new button from a form configuration.
in Button at line line 56
bool
offsetExists(mixed $offset)
Unsupported method.
in Button at line line 70
offsetGet(mixed $offset)
Unsupported method.
This method should not be invoked.
in Button at line line 85
offsetSet(mixed $offset, mixed $value)
Unsupported method.
This method should not be invoked.
in Button at line line 99
offsetUnset(mixed $offset)
Unsupported method.
This method should not be invoked.
in Button at line line 107
FormInterface
setParent(FormInterface $parent = null)
Sets the parent form.
in Button at line line 115
FormInterface|null
getParent()
Returns the parent form.
in Button at line line 131
FormInterface
add(FormInterface|string|int $child, string|null $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
in Button at line line 145
FormInterface
get(string $name)
Unsupported method.
This method should not be invoked.
in Button at line line 157
bool
has(string $name)
Unsupported method.
in Button at line line 171
FormInterface
remove(string $name)
Unsupported method.
This method should not be invoked.
in Button at line line 179
FormInterface[]
all()
Returns all children in this group.
in Button at line line 187
FormErrorIterator
getErrors(bool $deep = false, bool $flatten = true)
Returns the errors of this form.
in Button at line line 201
FormInterface
setData(mixed $modelData)
Unsupported method.
This method should not be invoked.
in Button at line line 212
mixed
getData()
Unsupported method.
in Button at line line 221
mixed
getNormData()
Unsupported method.
in Button at line line 230
mixed
getViewData()
Unsupported method.
in Button at line line 239
array
getExtraData()
Unsupported method.
in Button at line line 249
FormConfigInterface
getConfig()
Returns the button's configuration.
in Button at line line 259
bool
isSubmitted()
Returns whether the button is submitted.
in Button at line line 269
string
getName()
Returns the name by which the button is identified in forms.
in Button at line line 279
PropertyPathInterface
getPropertyPath()
Unsupported method.
in Button at line line 290
FormInterface
addError(FormError $error)
Unsupported method.
in Button at line line 300
bool
isValid()
Unsupported method.
in Button at line line 310
bool
isRequired()
Unsupported method.
in Button at line line 318
bool
isDisabled()
Returns whether this form is disabled.
The content of a disabled form is displayed, but not allowed to be modified. The validation of modified disabled forms should fail.
Forms whose parents are disabled are considered disabled regardless of their own state.
in Button at line line 332
bool
isEmpty()
Unsupported method.
in Button at line line 342
bool
isSynchronized()
Unsupported method.
in Button at line line 352
TransformationFailedException|null
getTransformationFailure()
Unsupported method.
in Button at line line 361
FormInterface
initialize()
Unsupported method.
in Button at line line 373
FormInterface
handleRequest(mixed $request = null)
Unsupported method.
at line line 44
FormInterface
submit(null|string|array $submittedData, bool $clearMissing = true)
Submits data to the button.
in Button at line line 402
FormInterface
getRoot()
Returns the root of the form tree.
in Button at line line 410
bool
isRoot()
Returns whether the field is the root of the form tree.
in Button at line line 440
int
count()
Unsupported method.
in Button at line line 450
EmptyIterator
getIterator()
Unsupported method.
at line line 29
bool
isClicked()
Returns whether this element was clicked.