Button
class Button implements IteratorAggregate, FormInterface
A form button.
Methods
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Returns the parent form.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Returns all children in this group.
Returns the errors of this form.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Returns the button's configuration.
Returns whether the button is submitted.
Returns the name by which the button is identified in forms.
Unsupported method.
Unsupported method.
Unsupported method.
Returns whether this form is disabled.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Unsupported method.
Submits data to the button.
Returns the root of the form tree.
Returns whether the field is the root of the form tree.
Unsupported method.
Unsupported method.
Details
at line line 44
__construct(FormConfigInterface $config)
Creates a new button from a form configuration.
at line line 56
bool
offsetExists(mixed $offset)
Unsupported method.
at line line 70
offsetGet(mixed $offset)
Unsupported method.
This method should not be invoked.
at line line 85
offsetSet(mixed $offset, mixed $value)
Unsupported method.
This method should not be invoked.
at line line 99
offsetUnset(mixed $offset)
Unsupported method.
This method should not be invoked.
at line line 107
FormInterface
setParent(FormInterface $parent = null)
Sets the parent form.
at line line 115
FormInterface|null
getParent()
Returns the parent form.
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.
at line line 145
FormInterface
get(string $name)
Unsupported method.
This method should not be invoked.
at line line 157
bool
has(string $name)
Unsupported method.
at line line 171
FormInterface
remove(string $name)
Unsupported method.
This method should not be invoked.
at line line 179
FormInterface[]
all()
Returns all children in this group.
at line line 187
FormErrorIterator
getErrors(bool $deep = false, bool $flatten = true)
Returns the errors of this form.
at line line 199
FormInterface
setData(mixed $modelData)
Unsupported method.
This method should not be invoked.
at line line 208
mixed
getData()
Unsupported method.
at line line 215
mixed
getNormData()
Unsupported method.
at line line 222
mixed
getViewData()
Unsupported method.
at line line 231
array
getExtraData()
Unsupported method.
at line line 241
FormConfigInterface
getConfig()
Returns the button's configuration.
at line line 251
bool
isSubmitted()
Returns whether the button is submitted.
at line line 261
string
getName()
Returns the name by which the button is identified in forms.
at line line 269
PropertyPathInterface
getPropertyPath()
Unsupported method.
at line line 280
FormInterface
addError(FormError $error)
Unsupported method.
at line line 290
bool
isValid()
Unsupported method.
at line line 300
bool
isRequired()
Unsupported method.
at line line 308
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.
at line line 322
bool
isEmpty()
Unsupported method.
at line line 332
bool
isSynchronized()
Unsupported method.
at line line 340
TransformationFailedException|null
getTransformationFailure()
Unsupported method.
at line line 349
FormInterface
initialize()
Unsupported method.
at line line 361
FormInterface
handleRequest(mixed $request = null)
Unsupported method.
at line line 376
FormInterface
submit(null|string|array $submittedData, bool $clearMissing = true)
Submits data to the button.
at line line 390
FormInterface
getRoot()
Returns the root of the form tree.
at line line 398
bool
isRoot()
Returns whether the field is the root of the form tree.
at line line 428
int
count()
Unsupported method.
at line line 438
EmptyIterator
getIterator()
Unsupported method.