mini\Html\Element
class
Documentation
Inheritance
Extends: mini\Html\Node
Implements:
Stringable
Constants (2)
| Name | Value |
|---|---|
VOID_ELEMENTS |
array (
0 => 'area',
1 => 'base',
2 => 'br',
3 => 'col',
4 => 'embed',
5 => 'hr',
6 => 'img',
7 => 'input',
8 => 'link',
9 => 'meta',
10 => 'param',
11 => 'source',
12 => 'track',
13 => 'wbr',
) |
BOOLEAN_ATTRIBUTES |
array (
0 => 'allowfullscreen',
1 => 'async',
2 => 'autofocus',
3 => 'autoplay',
4 => 'checked',
5 => 'controls',
6 => 'default',
7 => 'defer',
8 => 'disabled',
9 => 'formnovalidate',
10 => 'hidden',
11 => 'inert',
12 => 'ismap',
13 => 'loop',
14 => 'multiple',
15 => 'muted',
16 => 'nomodule',
17 => 'novalidate',
18 => 'open',
19 => 'playsinline',
20 => 'readonly',
21 => 'required',
22 => 'reversed',
23 => 'selected',
) |
Properties (5)
array $attributes
array $children
bool $isVoid
string $tag
Methods (29)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Add children after construction
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Render just the opening tag (for begin/end pattern)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Test if an element matches a complex selector by walking ancestors right-to-left.
Collect all descendant elements in document order (depth-first).
Test if this element matches all simple selectors in a compound.
Documentation missing
public
parentNode()
inherited from mini\Html\Node
Documentation missing
public
parentElement()
inherited from mini\Html\Node
Documentation missing
public
getRootNode()
inherited from mini\Html\Node
Documentation missing
public
nextSibling()
inherited from mini\Html\Node
Documentation missing
public
previousSibling()
inherited from mini\Html\Node
Documentation missing