class SubmitButton extends Button implements ClickableInterface
A button that submits the form.
Methods
__construct(FormConfigInterface $config) Creates a new button from a form configuration. | from Button | |
bool | offsetExists(mixed $offset) Unsupported method. | from Button |
offsetGet(mixed $offset) Unsupported method. | from Button | |
offsetSet(mixed $offset, mixed $value) Unsupported method. | from Button | |
offsetUnset(mixed $offset) Unsupported method. | from Button | |
FormInterface | setParent(FormInterface $parent = null) Sets the parent form. | from Button |
FormInterface|null | getParent() Returns the parent form. | from Button |
FormInterface | add(FormInterface|string|int $child, string|null $type = null, array $options = array()) Unsupported method. | from Button |
FormInterface | get(string $name) Unsupported method. | from Button |
bool | has(string $name) Unsupported method. | from Button |
FormInterface | remove(string $name) Unsupported method. | from Button |
FormInterface[] | all() Returns all children in this group. | from Button |
FormErrorIterator | getErrors(bool $deep = false, bool $flatten = true) Returns the errors of this form. | from Button |
FormInterface | setData(mixed $modelData) Unsupported method. | from Button |
mixed | getData() Unsupported method. | from Button |
mixed | getNormData() Unsupported method. | from Button |
mixed | getViewData() Unsupported method. | from Button |
array | getExtraData() Unsupported method. | from Button |
FormConfigInterface | getConfig() Returns the button's configuration. | from Button |
bool | isSubmitted() Returns whether the button is submitted. | from Button |
string | getName() Returns the name by which the button is identified in forms. | from Button |
PropertyPathInterface | getPropertyPath() Unsupported method. | from Button |
FormInterface | addError(FormError $error) Unsupported method. | from Button |
bool | isValid() Unsupported method. | from Button |
bool | isRequired() Unsupported method. | from Button |
bool | isDisabled() Returns whether this form is disabled. | from Button |
bool | isEmpty() Unsupported method. | from Button |
bool | isSynchronized() Unsupported method. | from Button |
TransformationFailedException|null | getTransformationFailure() Unsupported method. | from Button |
FormInterface | initialize() Unsupported method. | from Button |
FormInterface | handleRequest(mixed $request = null) Unsupported method. | from Button |
FormInterface | submit(null|string|array $submittedData, bool $clearMissing = true) Submits data to the button. | |
FormInterface | getRoot() Returns the root of the form tree. | from Button |
bool | isRoot() Returns whether the field is the root of the form tree. | from Button |
FormView | createView(FormView $parent = null) Creates a view. | from Button |
int | count() Unsupported method. | from Button |
EmptyIterator | getIterator() Unsupported method. | from Button |
bool | isClicked() Returns whether this element was clicked. |
Details
__construct(FormConfigInterface $config)
Creates a new button from a form configuration.
bool offsetExists(mixed $offset)
Unsupported method.
offsetGet(mixed $offset)
Unsupported method.
This method should not be invoked.
offsetSet(mixed $offset, mixed $value)
Unsupported method.
This method should not be invoked.
offsetUnset(mixed $offset)
Unsupported method.
This method should not be invoked.
FormInterface setParent(FormInterface $parent = null)
Sets the parent form.
FormInterface|null getParent()
Returns the parent form.
FormInterface add(FormInterface|string|int $child, string|null $type = null, array $options = array())
Unsupported method.
This method should not be invoked.
FormInterface get(string $name)
Unsupported method.
This method should not be invoked.
bool has(string $name)
Unsupported method.
FormInterface remove(string $name)
Unsupported method.
This method should not be invoked.
FormInterface[] all()
Returns all children in this group.
FormErrorIterator getErrors(bool $deep = false, bool $flatten = true)
Returns the errors of this form.
FormInterface setData(mixed $modelData)
Unsupported method.
This method should not be invoked.
mixed getData()
Unsupported method.
mixed getNormData()
Unsupported method.
mixed getViewData()
Unsupported method.
array getExtraData()
Unsupported method.
FormConfigInterface getConfig()
Returns the button's configuration.
bool isSubmitted()
Returns whether the button is submitted.
string getName()
Returns the name by which the button is identified in forms.
PropertyPathInterface getPropertyPath()
Unsupported method.
FormInterface addError(FormError $error)
Unsupported method.
bool isValid()
Unsupported method.
bool isRequired()
Unsupported method.
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.
bool isEmpty()
Unsupported method.
bool isSynchronized()
Unsupported method.
TransformationFailedException|null getTransformationFailure()
Unsupported method.
FormInterface initialize()
Unsupported method.
FormInterface handleRequest(mixed $request = null)
Unsupported method.
FormInterface submit(null|string|array $submittedData, bool $clearMissing = true)
Submits data to the button.
FormInterface getRoot()
Returns the root of the form tree.
bool isRoot()
Returns whether the field is the root of the form tree.
int count()
Unsupported method.
EmptyIterator getIterator()
Unsupported method.
bool isClicked()
Returns whether this element was clicked.
Please login to continue.