ElementNode
class ElementNode extends AreaNode
HTML element node.
Properties
$variableName | |||
$attributes | |||
$selfClosing | |||
$content | |||
Tag[] | $nAttributes | ||
$tagNode | n:tag & n:tag- support |
||
$captureTagName | |||
$breakable |
Methods
__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, stdClass|null $data = null, string $contentType = ContentType::Html)
No description
Node|bool|null
getAttribute(string $name)
No description
bool
is(string $name)
No description
bool
isRawText()
No description
string
getIterator()
No description
Details
at line 44
__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, stdClass|null $data = null, string $contentType = ContentType::Html)
No description
at line 56
Node|bool|null
getAttribute(string $name)
No description
at line 71
bool
is(string $name)
No description
at line 79
bool
isRawText()
No description
at line 86
string
print(PrintContext $context)
No description
at line 139
Generator
getIterator()
No description