|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| __construct (string $qualifiedName, ?string $value=null, string $namespace="") | |
| getAttribute (string $qualifiedName) | |
| getAttributeNames () | |
| getAttributeNS (?string $namespace, string $localName) | |
| getAttributeNode (string $qualifiedName) | |
| getAttributeNodeNS (?string $namespace, string $localName) | |
| getElementsByTagName (string $qualifiedName) | |
| getElementsByTagNameNS (?string $namespace, string $localName) | |
| hasAttribute (string $qualifiedName) | |
| hasAttributeNS (?string $namespace, string $localName) | |
| removeAttribute (string $qualifiedName) | |
| removeAttributeNS (?string $namespace, string $localName) | |
| removeAttributeNode (DOMAttr $attr) | |
| setAttribute (string $qualifiedName, string $value) | |
| setAttributeNS (?string $namespace, string $qualifiedName, string $value) | |
| setAttributeNode (DOMAttr $attr) | |
| setAttributeNodeNS (DOMAttr $attr) | |
| setIdAttribute (string $qualifiedName, bool $isId) | |
| setIdAttributeNS (string $namespace, string $qualifiedName, bool $isId) | |
| setIdAttributeNode (DOMAttr $attr, bool $isId) | |
| toggleAttribute (string $qualifiedName, ?bool $force=null) | |
| remove () | |
| before (... $nodes) | |
| after (... $nodes) | |
| replaceWith (... $nodes) | |
| append (... $nodes) | |
| prepend (... $nodes) | |
| replaceChildren (... $nodes) | |
| insertAdjacentElement (string $where, DOMElement $element) | |
| insertAdjacentText (string $where, string $data) | |
Public Member Functions inherited from DOMNode | |
| appendChild (DOMNode $node) | |
| 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) | |
| cloneNode (bool $deep=false) | |
| getLineNo () | |
| getNodePath () | |
| hasAttributes () | |
| hasChildNodes () | |
| insertBefore (DOMNode $node, ?DOMNode $child=null) | |
| isDefaultNamespace (string $namespace) | |
| isSameNode (DOMNode $otherNode) | |
| isEqualNode (?DOMNode $otherNode) | |
| isSupported (string $feature, string $version) | |
| lookupNamespaceURI (?string $prefix) | |
| lookupPrefix (string $namespace) | |
| normalize () | |
| removeChild (DOMNode $child) | |
| replaceChild (DOMNode $node, DOMNode $child) | |
| contains (DOMNode|DOMNameSpaceNode|null $other) | |
| getRootNode (?array $options=null) | |
| compareDocumentPosition (DOMNode $other) | |
| __sleep () | |
| __wakeup () | |
Data Fields | |
| string | $tagName |
| string | $className |
| string | $id |
| mixed | $schemaTypeInfo |
| DOMElement | $firstElementChild |
| DOMElement | $lastElementChild |
| int | $childElementCount |
| DOMElement | $previousElementSibling |
| DOMElement | $nextElementSibling |
Data Fields inherited from DOMNode | |
| 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 |
| string | $nodeName |
| string | $nodeValue |
| int | $nodeType |
| DOMNode | $parentNode |
| DOMElement | $parentElement |
| DOMNodeList | $childNodes |
| DOMNode | $firstChild |
| DOMNode | $lastChild |
| DOMNode | $previousSibling |
| DOMNode | $nextSibling |
| DOMNamedNodeMap | $attributes |
| bool | $isConnected |
| DOMDocument | $ownerDocument |
| string | $namespaceURI |
| string | $prefix |
| string | $localName |
| string | $baseURI |
| string | $textContent |
Definition at line 718 of file php_dom.stub.php.
| DOMElement::__construct | ( | string | $qualifiedName, |
| ?string | $value = null, | ||
| string | $namespace = "" ) |
Definition at line 768 of file php_dom.stub.php.
| DOMElement::after | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMChildNode.
Definition at line 834 of file php_dom.stub.php.
| DOMElement::append | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMParentNode.
Definition at line 840 of file php_dom.stub.php.
| DOMElement::before | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMChildNode.
Definition at line 831 of file php_dom.stub.php.
| DOMElement::getAttribute | ( | string | $qualifiedName | ) |
@tentative-return-type
Definition at line 771 of file php_dom.stub.php.
| DOMElement::getAttributeNames | ( | ) |
Definition at line 773 of file php_dom.stub.php.
| DOMElement::getAttributeNode | ( | string | $qualifiedName | ) |
Definition at line 779 of file php_dom.stub.php.
| DOMElement::getAttributeNodeNS | ( | ?string | $namespace, |
| string | $localName ) |
Definition at line 782 of file php_dom.stub.php.
| DOMElement::getAttributeNS | ( | ?string | $namespace, |
| string | $localName ) |
@tentative-return-type
Definition at line 776 of file php_dom.stub.php.
| DOMElement::getElementsByTagName | ( | string | $qualifiedName | ) |
@tentative-return-type
Definition at line 785 of file php_dom.stub.php.
| DOMElement::getElementsByTagNameNS | ( | ?string | $namespace, |
| string | $localName ) |
@tentative-return-type
Definition at line 788 of file php_dom.stub.php.
| DOMElement::hasAttribute | ( | string | $qualifiedName | ) |
@tentative-return-type
Definition at line 791 of file php_dom.stub.php.
| DOMElement::hasAttributeNS | ( | ?string | $namespace, |
| string | $localName ) |
@tentative-return-type
Definition at line 794 of file php_dom.stub.php.
| DOMElement::insertAdjacentElement | ( | string | $where, |
| DOMElement | $element ) |
Definition at line 848 of file php_dom.stub.php.
| DOMElement::insertAdjacentText | ( | string | $where, |
| string | $data ) |
Definition at line 850 of file php_dom.stub.php.
| DOMElement::prepend | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMParentNode.
Definition at line 843 of file php_dom.stub.php.
| DOMElement::remove | ( | ) |
Implements DOMChildNode.
Definition at line 828 of file php_dom.stub.php.
| DOMElement::removeAttribute | ( | string | $qualifiedName | ) |
@tentative-return-type
Definition at line 797 of file php_dom.stub.php.
| DOMElement::removeAttributeNode | ( | DOMAttr | $attr | ) |
Definition at line 803 of file php_dom.stub.php.
| DOMElement::removeAttributeNS | ( | ?string | $namespace, |
| string | $localName ) |
@tentative-return-type
Definition at line 800 of file php_dom.stub.php.
| DOMElement::replaceChildren | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMParentNode.
Definition at line 846 of file php_dom.stub.php.
| DOMElement::replaceWith | ( | ... | ) |
| DOMNode | string | $nodes |
Implements DOMChildNode.
Definition at line 837 of file php_dom.stub.php.
| DOMElement::setAttribute | ( | string | $qualifiedName, |
| string | $value ) |
Definition at line 806 of file php_dom.stub.php.
| DOMElement::setAttributeNode | ( | DOMAttr | $attr | ) |
Definition at line 812 of file php_dom.stub.php.
| DOMElement::setAttributeNodeNS | ( | DOMAttr | $attr | ) |
Definition at line 815 of file php_dom.stub.php.
| DOMElement::setAttributeNS | ( | ?string | $namespace, |
| string | $qualifiedName, | ||
| string | $value ) |
@tentative-return-type
Definition at line 809 of file php_dom.stub.php.
| DOMElement::setIdAttribute | ( | string | $qualifiedName, |
| bool | $isId ) |
@tentative-return-type
Definition at line 818 of file php_dom.stub.php.
| DOMElement::setIdAttributeNode | ( | DOMAttr | $attr, |
| bool | $isId ) |
@tentative-return-type
Definition at line 824 of file php_dom.stub.php.
| DOMElement::setIdAttributeNS | ( | string | $namespace, |
| string | $qualifiedName, | ||
| bool | $isId ) |
@tentative-return-type
Definition at line 821 of file php_dom.stub.php.
| DOMElement::toggleAttribute | ( | string | $qualifiedName, |
| ?bool | $force = null ) |
Definition at line 826 of file php_dom.stub.php.
| int DOMElement::$childElementCount |
@readonly @virtual
Definition at line 754 of file php_dom.stub.php.
| string DOMElement::$className |
@virtual
Definition at line 727 of file php_dom.stub.php.
| DOMElement DOMElement::$firstElementChild |
@readonly @virtual
Definition at line 742 of file php_dom.stub.php.
| string DOMElement::$id |
@virtual
Definition at line 730 of file php_dom.stub.php.
| DOMElement DOMElement::$lastElementChild |
@readonly @virtual
Definition at line 748 of file php_dom.stub.php.
| DOMElement DOMElement::$nextElementSibling |
@readonly @virtual
Definition at line 766 of file php_dom.stub.php.
| DOMElement DOMElement::$previousElementSibling |
@readonly @virtual
Definition at line 760 of file php_dom.stub.php.
| mixed DOMElement::$schemaTypeInfo |
@readonly @virtual
Definition at line 736 of file php_dom.stub.php.
| string DOMElement::$tagName |
@readonly @virtual
Definition at line 724 of file php_dom.stub.php.