class SubmitButton extends Button implements ClickableInterface
A button that submits the form.
__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(int|string|FormInterface $child, 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(string $modelData) Unsupported method. | from Button |
null | getData() Unsupported method. | from Button |
null | getNormData() Unsupported method. | from Button |
null | 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 |
null | 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 |
null | getTransformationFailure() Unsupported method. | from Button |
FormInterface | initialize() Unsupported method. | from Button |
FormInterface | handleRequest(mixed $request = null) Unsupported method. | from Button |
SubmitButton | submit(null|string $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. |
Creates a new button from a form configuration.
Unsupported method.
Unsupported method.
This method should not be invoked.
Unsupported method.
This method should not be invoked.
Unsupported method.
This method should not be invoked.
Sets the parent form.
Returns the parent form.
Unsupported method.
This method should not be invoked.
Unsupported method.
This method should not be invoked.
Unsupported method.
Unsupported method.
This method should not be invoked.
Returns all children in this group.
Returns the errors of this form.
Unsupported method.
This method should not be invoked.
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.
Unsupported method.
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.
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.
Creates a view.
Unsupported method.
Unsupported method.
Returns whether this element was clicked.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Form/SubmitButton.html