|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| xpath (string $expression) | |
| registerXPathNamespace (string $prefix, string $namespace) | |
| asXML (?string $filename=null) | |
| saveXML (?string $filename=null) | |
| getNamespaces (bool $recursive=false) | |
| getDocNamespaces (bool $recursive=false, bool $fromRoot=true) | |
| children (?string $namespaceOrPrefix=null, bool $isPrefix=false) | |
| attributes (?string $namespaceOrPrefix=null, bool $isPrefix=false) | |
| __construct (string $data, int $options=0, bool $dataIsURL=false, string $namespaceOrPrefix="", bool $isPrefix=false) | |
| addChild (string $qualifiedName, ?string $value=null, ?string $namespace=null) | |
| addAttribute (string $qualifiedName, string $value, ?string $namespace=null) | |
| getName () | |
| __toString () | |
| count () | |
| rewind () | |
| valid () | |
| current () | |
| key () | |
| next () | |
| hasChildren () | |
| getChildren () | |
@not-serializable
Definition at line 12 of file simplexml.stub.php.
| SimpleXMLElement::__construct | ( | string | $data, |
| int | $options = 0, | ||
| bool | $dataIsURL = false, | ||
| string | $namespaceOrPrefix = "", | ||
| bool | $isPrefix = false ) |
Definition at line 41 of file simplexml.stub.php.
| SimpleXMLElement::__toString | ( | ) |
Implements Stringable.
Definition at line 52 of file simplexml.stub.php.
| SimpleXMLElement::addAttribute | ( | string | $qualifiedName, |
| string | $value, | ||
| ?string | $namespace = null ) |
@tentative-return-type
Definition at line 47 of file simplexml.stub.php.
| SimpleXMLElement::addChild | ( | string | $qualifiedName, |
| ?string | $value = null, | ||
| ?string | $namespace = null ) |
@tentative-return-type
Definition at line 44 of file simplexml.stub.php.
| SimpleXMLElement::asXML | ( | ?string | $filename = null | ) |
@tentative-return-type
Definition at line 21 of file simplexml.stub.php.
| SimpleXMLElement::attributes | ( | ?string | $namespaceOrPrefix = null, |
| bool | $isPrefix = false ) |
@tentative-return-type
Definition at line 39 of file simplexml.stub.php.
| SimpleXMLElement::children | ( | ?string | $namespaceOrPrefix = null, |
| bool | $isPrefix = false ) |
@tentative-return-type
Definition at line 36 of file simplexml.stub.php.
| SimpleXMLElement::count | ( | ) |
| SimpleXMLElement::current | ( | ) |
| SimpleXMLElement::getChildren | ( | ) |
@tentative-return-type
Implements RecursiveIterator.
Definition at line 76 of file simplexml.stub.php.
| SimpleXMLElement::getDocNamespaces | ( | bool | $recursive = false, |
| bool | $fromRoot = true ) |
@tentative-return-type
Definition at line 33 of file simplexml.stub.php.
| SimpleXMLElement::getName | ( | ) |
@tentative-return-type
Definition at line 50 of file simplexml.stub.php.
| SimpleXMLElement::getNamespaces | ( | bool | $recursive = false | ) |
@tentative-return-type
Definition at line 30 of file simplexml.stub.php.
| SimpleXMLElement::hasChildren | ( | ) |
@tentative-return-type
Implements RecursiveIterator.
Definition at line 73 of file simplexml.stub.php.
| SimpleXMLElement::key | ( | ) |
| SimpleXMLElement::next | ( | ) |
| SimpleXMLElement::registerXPathNamespace | ( | string | $prefix, |
| string | $namespace ) |
@tentative-return-type
Definition at line 18 of file simplexml.stub.php.
| SimpleXMLElement::rewind | ( | ) |
| SimpleXMLElement::saveXML | ( | ?string | $filename = null | ) |
@tentative-return-type @alias SimpleXMLElement\asXML
Definition at line 27 of file simplexml.stub.php.
| SimpleXMLElement::valid | ( | ) |
| SimpleXMLElement::xpath | ( | string | $expression | ) |
@tentative-return-type
Definition at line 15 of file simplexml.stub.php.