php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
__construct () | |
appendXML (string $data) | |
append (... $nodes) | |
prepend (... $nodes) | |
replaceChildren (... $nodes) | |
![]() | |
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 | |
DOMElement | $firstElementChild |
DOMElement | $lastElementChild |
int | $childElementCount |
![]() | |
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 562 of file php_dom.stub.php.
DOMDocumentFragment::__construct | ( | ) |
Definition at line 582 of file php_dom.stub.php.
DOMDocumentFragment::append | ( | ... | ) |
DOMNode | string | $nodes | @implementation-alias DOMElement\append |
Implements DOMParentNode.
Definition at line 591 of file php_dom.stub.php.
DOMDocumentFragment::appendXML | ( | string | $data | ) |
@tentative-return-type
Definition at line 585 of file php_dom.stub.php.
DOMDocumentFragment::prepend | ( | ... | ) |
DOMNode | string | $nodes | @implementation-alias DOMElement\prepend |
Implements DOMParentNode.
Definition at line 597 of file php_dom.stub.php.
DOMDocumentFragment::replaceChildren | ( | ... | ) |
DOMNode | string | $nodes | @implementation-alias DOMDocument\replaceChildren |
Implements DOMParentNode.
Definition at line 603 of file php_dom.stub.php.
int DOMDocumentFragment::$childElementCount |
@readonly @virtual
Definition at line 580 of file php_dom.stub.php.
DOMElement DOMDocumentFragment::$firstElementChild |
@readonly @virtual
Definition at line 568 of file php_dom.stub.php.
DOMElement DOMDocumentFragment::$lastElementChild |
@readonly @virtual
Definition at line 574 of file php_dom.stub.php.