class ElementNode extends AreaNode

HTML element node.

Properties

$customName
$attributes
$selfClosing
$content
Tag[] $nAttributes
$tagNode

n:tag & n:tag- support

$captureTagName

Methods

__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, stdClass|null $data = null)

No description

Node|bool|null
getAttribute(string $name)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 42
__construct(string $name, Position|null $position = null, ElementNode|null $parent = null, stdClass|null $data = null)

No description

Parameters

string $name
Position|null $position
ElementNode|null $parent
stdClass|null $data

at line 53
Node|bool|null getAttribute(string $name)

No description

Parameters

string $name

Return Value

Node|bool|null

at line 68
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 116
Generator getIterator()

No description

Return Value

Generator