implements |
Stringable, Countable, RecursiveIterator |
|---|
| Methods | ||
|---|---|---|
public
|
current(): SimpleXMLElement
|
# |
public
|
xpath(string $expression): array|null|false
|
# |
public
|
registerXPathNamespace(string $prefix, string $namespace): bool
|
# |
public
|
asXML(?string $filename = null): string|bool
|
# |
public
|
saveXML(?string $filename = null): string|bool
|
# |
public
|
getNamespaces(bool $recursive = false): array
|
# |
public
|
getDocNamespaces(bool $recursive = false, bool $fromRoot = true): array|false
|
# |
public
|
children(?string $namespaceOrPrefix = null, bool $isPrefix = false): SimpleXMLElement|null
|
# |
public
|
attributes(?string $namespaceOrPrefix = null, bool $isPrefix = false): SimpleXMLElement|null
|
# |
public
|
__construct(
string $data,
int $options = 0,
bool $dataIsURL = false,
string $namespaceOrPrefix = "",
bool $isPrefix = false,
)
|
# |
public
|
addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null): SimpleXMLElement|null
|
# |
public
|
addAttribute(string $qualifiedName, string $value, ?string $namespace = null): void
|
# |
public
|
getName(): string
|
# |
public
|
__toString(): string
|
# |
public
|
count(): int
|
# |
public
|
rewind(): void
|
# |
public
|
valid(): bool
|
# |
public
|
key(): string|false
|
# |
public
|
next(): void
|
# |
public
|
hasChildren(): bool
|
# |
public
|
getChildren(): SimpleXMLElement|null
|
# |