extends |
DOMNode |
---|---|
implements |
DOMParentNode, DOMChildNode |
Methods | ||
---|---|---|
public
|
__construct(string $qualifiedName, ?string $value = null, string $namespace = "")
|
# |
public
|
getAttribute(string $qualifiedName): string
|
# |
public
|
getAttributeNS(?string $namespace, string $localName): string
|
# |
public
|
getAttributeNode(string $qualifiedName): DOMAttr|DOMNameSpaceNode|false
|
# |
public
|
getAttributeNodeNS(?string $namespace, string $localName): DOMAttr|DOMNameSpaceNode|null
|
# |
public
|
getElementsByTagName(string $qualifiedName): DOMNodeList
|
# |
public
|
getElementsByTagNameNS(?string $namespace, string $localName): DOMNodeList
|
# |
public
|
hasAttribute(string $qualifiedName): bool
|
# |
public
|
hasAttributeNS(?string $namespace, string $localName): bool
|
# |
public
|
removeAttribute(string $qualifiedName): bool
|
# |
public
|
removeAttributeNS(?string $namespace, string $localName): void
|
# |
public
|
removeAttributeNode(DOMAttr $attr): DOMAttr|false
|
# |
public
|
setAttribute(string $qualifiedName, string $value): DOMAttr|bool
|
# |
public
|
setAttributeNS(?string $namespace, string $qualifiedName, string $value): void
|
# |
public
|
setAttributeNode(DOMAttr $attr): DOMAttr|null|false
|
# |
public
|
setAttributeNodeNS(DOMAttr $attr): DOMAttr|null|false
|
# |
public
|
setIdAttribute(string $qualifiedName, bool $isId): void
|
# |
public
|
setIdAttributeNS(string $namespace, string $qualifiedName, bool $isId): void
|
# |
public
|
setIdAttributeNode(DOMAttr $attr, bool $isId): void
|
# |
public
|
remove(): void
|
# |
public
|
before(DOMNode|string ...$nodes): void
|
# |
public
|
after(DOMNode|string ...$nodes): void
|
# |
public
|
replaceWith(DOMNode|string ...$nodes): void
|
# |
public
|
append(DOMNode|string ...$nodes): void
|
# |
public
|
prepend(DOMNode|string ...$nodes): void
|
# |