platform/api/symfony/Component/Form/SubmitButton.yaml

25 lines
829 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: SubmitButton
class_comment: '# * A button that submits the form.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies: []
properties: []
methods:
- name: submit
visibility: public
parameters:
- name: submittedData
- name: clearMissing
default: 'true'
comment: "# * A button that submits the form.\n# *\n# * @author Bernhard Schussek\
\ <bschussek@gmail.com>\n# */\n# class SubmitButton extends Button implements\
\ ClickableInterface\n# {\n# private bool $clicked = false;\n# \n# public function\
\ isClicked(): bool\n# {\n# return $this->clicked;\n# }\n# \n# /**\n# * Submits\
\ data to the button.\n# *\n# * @return $this\n# *\n# * @throws Exception\\AlreadySubmittedException\
\ if the form has already been submitted"
traits: []
interfaces:
- ClickableInterface