| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* HTMLTableElement |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-htmltableelement |
| 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 HTMLTableCaptionElement|null $caption |
| 72 |
* @property HTMLTableSectionElement|null $tHead |
| 73 |
* @property HTMLTableSectionElement|null $tFoot |
| 74 |
* @property HTMLCollection $tBodies |
| 75 |
* @property HTMLCollection $rows |
| 76 |
* @property string $align |
| 77 |
* @property string $border |
| 78 |
* @property string $frame |
| 79 |
* @property string $rules |
| 80 |
* @property string $summary |
| 81 |
* @property string $width |
| 82 |
* @property string $bgColor |
| 83 |
* @property string $cellPadding |
| 84 |
* @property string $cellSpacing |
| 85 |
* @phan-forbid-undeclared-magic-properties |
| 86 |
*/ |
| 87 |
interface HTMLTableElement extends HTMLElement { |
| 88 |
// Direct parent: HTMLElement |
| 89 |
|
| 90 |
/** |
| 91 |
* @return HTMLTableCaptionElement|null |
| 92 |
*/ |
| 93 |
public function getCaption(); |
| 94 |
|
| 95 |
/** |
| 96 |
* @param HTMLTableCaptionElement|null $val |
| 97 |
*/ |
| 98 |
public function setCaption( /* ?HTMLTableCaptionElement */ $val ): void; |
| 99 |
|
| 100 |
/** |
| 101 |
* @return HTMLTableCaptionElement |
| 102 |
*/ |
| 103 |
public function createCaption(); |
| 104 |
|
| 105 |
/** |
| 106 |
* @return void |
| 107 |
*/ |
| 108 |
public function deleteCaption(): void; |
| 109 |
|
| 110 |
/** |
| 111 |
* @return HTMLTableSectionElement|null |
| 112 |
*/ |
| 113 |
public function getTHead(); |
| 114 |
|
| 115 |
/** |
| 116 |
* @param HTMLTableSectionElement|null $val |
| 117 |
*/ |
| 118 |
public function setTHead( /* ?HTMLTableSectionElement */ $val ): void; |
| 119 |
|
| 120 |
/** |
| 121 |
* @return HTMLTableSectionElement |
| 122 |
*/ |
| 123 |
public function createTHead(); |
| 124 |
|
| 125 |
/** |
| 126 |
* @return void |
| 127 |
*/ |
| 128 |
public function deleteTHead(): void; |
| 129 |
|
| 130 |
/** |
| 131 |
* @return HTMLTableSectionElement|null |
| 132 |
*/ |
| 133 |
public function getTFoot(); |
| 134 |
|
| 135 |
/** |
| 136 |
* @param HTMLTableSectionElement|null $val |
| 137 |
*/ |
| 138 |
public function setTFoot( /* ?HTMLTableSectionElement */ $val ): void; |
| 139 |
|
| 140 |
/** |
| 141 |
* @return HTMLTableSectionElement |
| 142 |
*/ |
| 143 |
public function createTFoot(); |
| 144 |
|
| 145 |
/** |
| 146 |
* @return void |
| 147 |
*/ |
| 148 |
public function deleteTFoot(): void; |
| 149 |
|
| 150 |
/** |
| 151 |
* @return HTMLCollection |
| 152 |
*/ |
| 153 |
public function getTBodies(); |
| 154 |
|
| 155 |
/** |
| 156 |
* @return HTMLTableSectionElement |
| 157 |
*/ |
| 158 |
public function createTBody(); |
| 159 |
|
| 160 |
/** |
| 161 |
* @return HTMLCollection |
| 162 |
*/ |
| 163 |
public function getRows(); |
| 164 |
|
| 165 |
/** |
| 166 |
* @param int $index |
| 167 |
* @return HTMLTableRowElement |
| 168 |
*/ |
| 169 |
public function insertRow( int $index = -1 ); |
| 170 |
|
| 171 |
/** |
| 172 |
* @param int $index |
| 173 |
* @return void |
| 174 |
*/ |
| 175 |
public function deleteRow( int $index ): void; |
| 176 |
|
| 177 |
/** |
| 178 |
* @return string |
| 179 |
*/ |
| 180 |
public function getAlign(): string; |
| 181 |
|
| 182 |
/** |
| 183 |
* @param string $val |
| 184 |
*/ |
| 185 |
public function setAlign( string $val ): void; |
| 186 |
|
| 187 |
/** |
| 188 |
* @return string |
| 189 |
*/ |
| 190 |
public function getBorder(): string; |
| 191 |
|
| 192 |
/** |
| 193 |
* @param string $val |
| 194 |
*/ |
| 195 |
public function setBorder( string $val ): void; |
| 196 |
|
| 197 |
/** |
| 198 |
* @return string |
| 199 |
*/ |
| 200 |
public function getFrame(): string; |
| 201 |
|
| 202 |
/** |
| 203 |
* @param string $val |
| 204 |
*/ |
| 205 |
public function setFrame( string $val ): void; |
| 206 |
|
| 207 |
/** |
| 208 |
* @return string |
| 209 |
*/ |
| 210 |
public function getRules(): string; |
| 211 |
|
| 212 |
/** |
| 213 |
* @param string $val |
| 214 |
*/ |
| 215 |
public function setRules( string $val ): void; |
| 216 |
|
| 217 |
/** |
| 218 |
* @return string |
| 219 |
*/ |
| 220 |
public function getSummary(): string; |
| 221 |
|
| 222 |
/** |
| 223 |
* @param string $val |
| 224 |
*/ |
| 225 |
public function setSummary( string $val ): void; |
| 226 |
|
| 227 |
/** |
| 228 |
* @return string |
| 229 |
*/ |
| 230 |
public function getWidth(): string; |
| 231 |
|
| 232 |
/** |
| 233 |
* @param string $val |
| 234 |
*/ |
| 235 |
public function setWidth( string $val ): void; |
| 236 |
|
| 237 |
/** |
| 238 |
* @return string |
| 239 |
*/ |
| 240 |
public function getBgColor(): string; |
| 241 |
|
| 242 |
/** |
| 243 |
* @param ?string $val |
| 244 |
*/ |
| 245 |
public function setBgColor( ?string $val ): void; |
| 246 |
|
| 247 |
/** |
| 248 |
* @return string |
| 249 |
*/ |
| 250 |
public function getCellPadding(): string; |
| 251 |
|
| 252 |
/** |
| 253 |
* @param ?string $val |
| 254 |
*/ |
| 255 |
public function setCellPadding( ?string $val ): void; |
| 256 |
|
| 257 |
/** |
| 258 |
* @return string |
| 259 |
*/ |
| 260 |
public function getCellSpacing(): string; |
| 261 |
|
| 262 |
/** |
| 263 |
* @param ?string $val |
| 264 |
*/ |
| 265 |
public function setCellSpacing( ?string $val ): void; |
| 266 |
|
| 267 |
} |