25 lines
829 B
YAML
25 lines
829 B
YAML
|
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
|