Button::submit()

FormInterface submit(null|string|array $submittedData, bool $clearMissing = true) Submits data to the button. Parameters null|string|array $submittedData The submitted data bool $clearMissing Whether to set fields to NULL when they are missing in the submitted data. Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the button has already been submitted.

Button::setData()

FormInterface setData(mixed $modelData) Unsupported method. This method should not be invoked. Parameters mixed $modelData The data formatted as expected for the underlying object Return Value FormInterface The form instance

Button::setParent()

FormInterface setParent(FormInterface $parent = null) Sets the parent form. Parameters FormInterface $parent The parent form or null if it's the root Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted. LogicException When trying to set a parent for a form with an empty name.

Button::remove()

FormInterface remove(string $name) Unsupported method. This method should not be invoked. Parameters string $name The name of the child to remove Return Value FormInterface The form instance Exceptions BadMethodCallException

Button::offsetSet()

offsetSet(mixed $offset, mixed $value) Unsupported method. This method should not be invoked. Parameters mixed $offset mixed $value Exceptions BadMethodCallException

Button::isValid()

bool isValid() Unsupported method. Return Value bool

Button::offsetUnset()

offsetUnset(mixed $offset) Unsupported method. This method should not be invoked. Parameters mixed $offset Exceptions BadMethodCallException

Button::offsetExists()

bool offsetExists(mixed $offset) Unsupported method. Parameters mixed $offset Return Value bool Always returns false

Button::offsetGet()

offsetGet(mixed $offset) Unsupported method. This method should not be invoked. Parameters mixed $offset Exceptions BadMethodCallException

Button::isSubmitted()

bool isSubmitted() Returns whether the button is submitted. Return Value bool true if the form is submitted, false otherwise