Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM;
7
8/**
9 * HTMLFormElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmlformelement
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property string $innerHTML
28 * @property Element|null $previousElementSibling
29 * @property Element|null $nextElementSibling
30 * @property HTMLCollection $children
31 * @property Element|null $firstElementChild
32 * @property Element|null $lastElementChild
33 * @property int $childElementCount
34 * @property HTMLSlotElement|null $assignedSlot
35 * @property ?string $namespaceURI
36 * @property ?string $prefix
37 * @property string $localName
38 * @property string $tagName
39 * @property string $id
40 * @property string $className
41 * @property DOMTokenList $classList
42 * @property string $slot
43 * @property NamedNodeMap $attributes
44 * @property ShadowRoot|null $shadowRoot
45 * @property string $outerHTML
46 * @property CSSStyleDeclaration $style
47 * @property string $contentEditable
48 * @property string $enterKeyHint
49 * @property bool $isContentEditable
50 * @property string $inputMode
51 * @property EventHandlerNonNull|callable|null $onload
52 * @property DOMStringMap $dataset
53 * @property string $nonce
54 * @property int $tabIndex
55 * @property string $title
56 * @property string $lang
57 * @property bool $translate
58 * @property string $dir
59 * @property bool $hidden
60 * @property string $accessKey
61 * @property string $accessKeyLabel
62 * @property bool $draggable
63 * @property bool $spellcheck
64 * @property string $autocapitalize
65 * @property string $innerText
66 * @property Element|null $offsetParent
67 * @property int $offsetTop
68 * @property int $offsetLeft
69 * @property int $offsetWidth
70 * @property int $offsetHeight
71 * @property string $acceptCharset
72 * @property string $action
73 * @property string $autocomplete
74 * @property string $enctype
75 * @property string $encoding
76 * @property string $method
77 * @property string $name
78 * @property bool $noValidate
79 * @property string $target
80 * @property HTMLFormControlsCollection $elements
81 * @property int $length
82 * @phan-forbid-undeclared-magic-properties
83 */
84interface HTMLFormElement extends HTMLElement {
85    // Direct parent: HTMLElement
86
87    /**
88     * @return string
89     */
90    public function getAcceptCharset(): string;
91
92    /**
93     * @param string $val
94     */
95    public function setAcceptCharset( string $val ): void;
96
97    /**
98     * @return string
99     */
100    public function getAction(): string;
101
102    /**
103     * @param string $val
104     */
105    public function setAction( string $val ): void;
106
107    /**
108     * @return string
109     */
110    public function getAutocomplete(): string;
111
112    /**
113     * @param string $val
114     */
115    public function setAutocomplete( string $val ): void;
116
117    /**
118     * @return string
119     */
120    public function getEnctype(): string;
121
122    /**
123     * @param string $val
124     */
125    public function setEnctype( string $val ): void;
126
127    /**
128     * @return string
129     */
130    public function getEncoding(): string;
131
132    /**
133     * @param string $val
134     */
135    public function setEncoding( string $val ): void;
136
137    /**
138     * @return string
139     */
140    public function getMethod(): string;
141
142    /**
143     * @param string $val
144     */
145    public function setMethod( string $val ): void;
146
147    /**
148     * @return string
149     */
150    public function getName(): string;
151
152    /**
153     * @param string $val
154     */
155    public function setName( string $val ): void;
156
157    /**
158     * @return bool
159     */
160    public function getNoValidate(): bool;
161
162    /**
163     * @param bool $val
164     */
165    public function setNoValidate( bool $val ): void;
166
167    /**
168     * @return string
169     */
170    public function getTarget(): string;
171
172    /**
173     * @param string $val
174     */
175    public function setTarget( string $val ): void;
176
177    /**
178     * @return HTMLFormControlsCollection
179     */
180    public function getElements();
181
182    /**
183     * @return int
184     */
185    public function getLength(): int;
186
187    /**
188     * @return void
189     */
190    public function submit(): void;
191
192    /**
193     * @param HTMLElement|null $submitter
194     * @return void
195     */
196    public function requestSubmit( /* ?HTMLElement */ $submitter = null ): void;
197
198    /**
199     * @return void
200     */
201    public function reset(): void;
202
203    /**
204     * @return bool
205     */
206    public function checkValidity(): bool;
207
208    /**
209     * @return bool
210     */
211    public function reportValidity(): bool;
212
213}