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 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * HTMLSelectElement |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-htmlselectelement |
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 $autocomplete |
72 | * @property bool $autofocus |
73 | * @property bool $disabled |
74 | * @property HTMLFormElement|null $form |
75 | * @property bool $multiple |
76 | * @property string $name |
77 | * @property bool $required |
78 | * @property int $size |
79 | * @property string $type |
80 | * @property HTMLOptionsCollection $options |
81 | * @property int $length |
82 | * @property HTMLCollection $selectedOptions |
83 | * @property int $selectedIndex |
84 | * @property string $value |
85 | * @property bool $willValidate |
86 | * @property ValidityState $validity |
87 | * @property string $validationMessage |
88 | * @property NodeList $labels |
89 | * @phan-forbid-undeclared-magic-properties |
90 | */ |
91 | interface HTMLSelectElement extends HTMLElement, \ArrayAccess { |
92 | // Direct parent: HTMLElement |
93 | |
94 | /** |
95 | * @return string |
96 | */ |
97 | public function getAutocomplete(): string; |
98 | |
99 | /** |
100 | * @param string $val |
101 | */ |
102 | public function setAutocomplete( string $val ): void; |
103 | |
104 | /** |
105 | * @return bool |
106 | */ |
107 | public function getAutofocus(): bool; |
108 | |
109 | /** |
110 | * @param bool $val |
111 | */ |
112 | public function setAutofocus( bool $val ): void; |
113 | |
114 | /** |
115 | * @return bool |
116 | */ |
117 | public function getDisabled(): bool; |
118 | |
119 | /** |
120 | * @param bool $val |
121 | */ |
122 | public function setDisabled( bool $val ): void; |
123 | |
124 | /** |
125 | * @return HTMLFormElement|null |
126 | */ |
127 | public function getForm(); |
128 | |
129 | /** |
130 | * @return bool |
131 | */ |
132 | public function getMultiple(): bool; |
133 | |
134 | /** |
135 | * @param bool $val |
136 | */ |
137 | public function setMultiple( bool $val ): void; |
138 | |
139 | /** |
140 | * @return string |
141 | */ |
142 | public function getName(): string; |
143 | |
144 | /** |
145 | * @param string $val |
146 | */ |
147 | public function setName( string $val ): void; |
148 | |
149 | /** |
150 | * @return bool |
151 | */ |
152 | public function getRequired(): bool; |
153 | |
154 | /** |
155 | * @param bool $val |
156 | */ |
157 | public function setRequired( bool $val ): void; |
158 | |
159 | /** |
160 | * @return int |
161 | */ |
162 | public function getSize(): int; |
163 | |
164 | /** |
165 | * @param int $val |
166 | */ |
167 | public function setSize( int $val ): void; |
168 | |
169 | /** |
170 | * @return string |
171 | */ |
172 | public function getType(): string; |
173 | |
174 | /** |
175 | * @return HTMLOptionsCollection |
176 | */ |
177 | public function getOptions(); |
178 | |
179 | /** |
180 | * @return int |
181 | */ |
182 | public function getLength(): int; |
183 | |
184 | /** |
185 | * @param int $val |
186 | */ |
187 | public function setLength( int $val ): void; |
188 | |
189 | /** |
190 | * @param int $index |
191 | * @return Element|null |
192 | */ |
193 | public function item( int $index ); |
194 | |
195 | /** |
196 | * @param string $name |
197 | * @return HTMLOptionElement|null |
198 | */ |
199 | public function namedItem( string $name ); |
200 | |
201 | /** |
202 | * @param HTMLOptionElement|HTMLOptGroupElement $element |
203 | * @param HTMLElement|int|null $before |
204 | * @return void |
205 | */ |
206 | public function add( /* mixed */ $element, /* ?mixed */ $before = null ): void; |
207 | |
208 | /** |
209 | * @param int $index |
210 | * @param HTMLOptionElement|null $option |
211 | * @return void |
212 | */ |
213 | public function setItem( int $index, /* ?HTMLOptionElement */ $option ): void; |
214 | |
215 | /** |
216 | * @return HTMLCollection |
217 | */ |
218 | public function getSelectedOptions(); |
219 | |
220 | /** |
221 | * @return int |
222 | */ |
223 | public function getSelectedIndex(): int; |
224 | |
225 | /** |
226 | * @param int $val |
227 | */ |
228 | public function setSelectedIndex( int $val ): void; |
229 | |
230 | /** |
231 | * @return string |
232 | */ |
233 | public function getValue(): string; |
234 | |
235 | /** |
236 | * @param string $val |
237 | */ |
238 | public function setValue( string $val ): void; |
239 | |
240 | /** |
241 | * @return bool |
242 | */ |
243 | public function getWillValidate(): bool; |
244 | |
245 | /** |
246 | * @return ValidityState |
247 | */ |
248 | public function getValidity(); |
249 | |
250 | /** |
251 | * @return string |
252 | */ |
253 | public function getValidationMessage(): string; |
254 | |
255 | /** |
256 | * @return bool |
257 | */ |
258 | public function checkValidity(): bool; |
259 | |
260 | /** |
261 | * @return bool |
262 | */ |
263 | public function reportValidity(): bool; |
264 | |
265 | /** |
266 | * @param string $error |
267 | * @return void |
268 | */ |
269 | public function setCustomValidity( string $error ): void; |
270 | |
271 | /** |
272 | * @return NodeList |
273 | */ |
274 | public function getLabels(); |
275 | |
276 | } |