|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| getElementsByTagName (string $qualifiedName) | |
| getElementsByTagNameNS (?string $namespace, string $localName) | |
| createElement (string $localName) | |
| createElementNS (?string $namespace, string $qualifiedName) | |
| createDocumentFragment () | |
| createTextNode (string $data) | |
| createCDATASection (string $data) | |
| createComment (string $data) | |
| createProcessingInstruction (string $target, string $data) | |
| importNode (?Node $node, bool $deep=false) | |
| adoptNode (Node $node) | |
| createAttribute (string $localName) | |
| createAttributeNS (?string $namespace, string $qualifiedName) | |
| getElementById (string $elementId) | |
| registerNodeClass (string $baseClass, ?string $extendedClass) | |
| schemaValidate (string $filename, int $flags=0) | |
| schemaValidateSource (string $source, int $flags=0) | |
| relaxNgValidate (string $filename) | |
| relaxNgValidateSource (string $source) | |
| append (Node|string ... $nodes) | |
| prepend (Node|string ... $nodes) | |
| replaceChildren (Node|string ... $nodes) | |
| importLegacyNode (\DOMNode $node, bool $deep=false) | |
| querySelector (string $selectors) | |
| querySelectorAll (string $selectors) | |
Public Member Functions inherited from Dom\Node | |
| getRootNode (array $options=[]) | |
| hasChildNodes () | |
| normalize () | |
| cloneNode (bool $deep=false) | |
| isEqualNode (?Node $otherNode) | |
| isSameNode (?Node $otherNode) | |
| compareDocumentPosition (Node $other) | |
| contains (?Node $other) | |
| lookupPrefix (?string $namespace) | |
| lookupNamespaceURI (?string $prefix) | |
| isDefaultNamespace (?string $namespace) | |
| insertBefore (Node $node, ?Node $child) | |
| appendChild (Node $node) | |
| replaceChild (Node $node, Node $child) | |
| removeChild (Node $child) | |
| getLineNo () | |
| getNodePath () | |
| C14N (bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null) | |
| C14NFile (string $uri, bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null) | |
| __sleep () | |
| __wakeup () | |
Data Fields | |
| Implementation | $implementation |
| string | $URL |
| string | $documentURI |
| string | $characterSet |
| string | $charset |
| string | $inputEncoding |
| DocumentType | $doctype |
| Element | $documentElement |
| Element | $firstElementChild |
| Element | $lastElementChild |
| int | $childElementCount |
| HTMLElement | $body |
| HTMLElement | $head |
| string | $title |
Data Fields inherited from Dom\Node | |
| int | $nodeType |
| string | $nodeName |
| string | $baseURI |
| bool | $isConnected |
| Document | $ownerDocument |
| Node | $parentNode |
| Element | $parentElement |
| NodeList | $childNodes |
| Node | $firstChild |
| Node | $lastChild |
| Node | $previousSibling |
| Node | $nextSibling |
| string | $nodeValue |
| string | $textContent |
| const int | DOCUMENT_POSITION_DISCONNECTED = 0x01 |
| const int | DOCUMENT_POSITION_PRECEDING = 0x02 |
| const int | DOCUMENT_POSITION_FOLLOWING = 0x04 |
| const int | DOCUMENT_POSITION_CONTAINS = 0x08 |
| const int | DOCUMENT_POSITION_CONTAINED_BY = 0x10 |
| const int | DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20 |
Definition at line 1927 of file php_dom.stub.php.
| Dom\Document::adoptNode | ( | Node | $node | ) |
Definition at line 1970 of file php_dom.stub.php.
| Dom\Document::append | ( | Node|string ... | $nodes | ) |
@implementation-alias DOMElement\append
Implements Dom\ParentNode.
Definition at line 2010 of file php_dom.stub.php.
| Dom\Document::createAttribute | ( | string | $localName | ) |
@implementation-alias DOMDocument\createAttribute
Definition at line 1973 of file php_dom.stub.php.
| Dom\Document::createAttributeNS | ( | ?string | $namespace, |
| string | $qualifiedName ) |
@implementation-alias DOMDocument\createAttributeNS
Definition at line 1975 of file php_dom.stub.php.
| Dom\Document::createCDATASection | ( | string | $data | ) |
@implementation-alias DOMDocument\createCDATASection
Definition at line 1964 of file php_dom.stub.php.
| Dom\Document::createComment | ( | string | $data | ) |
@implementation-alias DOMDocument\createComment
Definition at line 1966 of file php_dom.stub.php.
| Dom\Document::createDocumentFragment | ( | ) |
@implementation-alias DOMDocument\createDocumentFragment
Definition at line 1960 of file php_dom.stub.php.
| Dom\Document::createElement | ( | string | $localName | ) |
Definition at line 1957 of file php_dom.stub.php.
| Dom\Document::createElementNS | ( | ?string | $namespace, |
| string | $qualifiedName ) |
Definition at line 1958 of file php_dom.stub.php.
| Dom\Document::createProcessingInstruction | ( | string | $target, |
| string | $data ) |
Definition at line 1967 of file php_dom.stub.php.
| Dom\Document::createTextNode | ( | string | $data | ) |
@implementation-alias DOMDocument\createTextNode
Definition at line 1962 of file php_dom.stub.php.
| Dom\Document::getElementById | ( | string | $elementId | ) |
@implementation-alias DOMDocument\getElementById
Definition at line 1994 of file php_dom.stub.php.
| Dom\Document::getElementsByTagName | ( | string | $qualifiedName | ) |
@implementation-alias Dom\Element::getElementsByTagName
Definition at line 1953 of file php_dom.stub.php.
| Dom\Document::getElementsByTagNameNS | ( | ?string | $namespace, |
| string | $localName ) |
@implementation-alias Dom\Element::getElementsByTagNameNS
Definition at line 1955 of file php_dom.stub.php.
| Dom\Document::importLegacyNode | ( | \DOMNode | $node, |
| bool | $deep = false ) |
Definition at line 2016 of file php_dom.stub.php.
| Dom\Document::importNode | ( | ?Node | $node, |
| bool | $deep = false ) |
Definition at line 1969 of file php_dom.stub.php.
| Dom\Document::prepend | ( | Node|string ... | $nodes | ) |
@implementation-alias DOMElement\prepend
Implements Dom\ParentNode.
Definition at line 2012 of file php_dom.stub.php.
| Dom\Document::querySelector | ( | string | $selectors | ) |
@implementation-alias Dom\Element::querySelector
Implements Dom\ParentNode.
Definition at line 2019 of file php_dom.stub.php.
| Dom\Document::querySelectorAll | ( | string | $selectors | ) |
@implementation-alias Dom\Element::querySelectorAll
Implements Dom\ParentNode.
Definition at line 2021 of file php_dom.stub.php.
| Dom\Document::registerNodeClass | ( | string | $baseClass, |
| ?string | $extendedClass ) |
Definition at line 1996 of file php_dom.stub.php.
| Dom\Document::relaxNgValidate | ( | string | $filename | ) |
@implementation-alias DOMDocument\relaxNGValidate
Definition at line 2004 of file php_dom.stub.php.
| Dom\Document::relaxNgValidateSource | ( | string | $source | ) |
@implementation-alias DOMDocument\relaxNGValidateSource
Definition at line 2006 of file php_dom.stub.php.
| Dom\Document::replaceChildren | ( | Node|string ... | $nodes | ) |
@implementation-alias DOMDocument\replaceChildren
Implements Dom\ParentNode.
Definition at line 2014 of file php_dom.stub.php.
| Dom\Document::schemaValidate | ( | string | $filename, |
| int | $flags = 0 ) |
@implementation-alias DOMDocument\schemaValidate
Definition at line 2000 of file php_dom.stub.php.
| Dom\Document::schemaValidateSource | ( | string | $source, |
| int | $flags = 0 ) |
@implementation-alias DOMDocument\schemaValidateSource
Definition at line 2002 of file php_dom.stub.php.
| HTMLElement Dom\Document::$body |
@virtual
Definition at line 2024 of file php_dom.stub.php.
| string Dom\Document::$characterSet |
@virtual
Definition at line 1936 of file php_dom.stub.php.
| string Dom\Document::$charset |
@virtual
Definition at line 1938 of file php_dom.stub.php.
| int Dom\Document::$childElementCount |
@readonly @virtual
Definition at line 1991 of file php_dom.stub.php.
| DocumentType Dom\Document::$doctype |
@readonly @virtual
Definition at line 1946 of file php_dom.stub.php.
| Element Dom\Document::$documentElement |
@readonly @virtual
Definition at line 1951 of file php_dom.stub.php.
| string Dom\Document::$documentURI |
@virtual
Definition at line 1934 of file php_dom.stub.php.
| Element Dom\Document::$firstElementChild |
@readonly @virtual
Definition at line 1981 of file php_dom.stub.php.
| HTMLElement Dom\Document::$head |
@readonly @virtual
Definition at line 2029 of file php_dom.stub.php.
| Implementation Dom\Document::$implementation |
@readonly
Definition at line 1930 of file php_dom.stub.php.
| string Dom\Document::$inputEncoding |
@virtual
Definition at line 1940 of file php_dom.stub.php.
| Element Dom\Document::$lastElementChild |
@readonly @virtual
Definition at line 1986 of file php_dom.stub.php.
| string Dom\Document::$title |
@virtual
Definition at line 2031 of file php_dom.stub.php.
| string Dom\Document::$URL |
@virtual
Definition at line 1932 of file php_dom.stub.php.