php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Dom\DocumentFragment Class Reference
Inheritance diagram for Dom\DocumentFragment:
Dom\Node Dom\ParentNode

Public Member Functions

 appendXml (string $data)
 
 append (Node|string ... $nodes)
 
 prepend (Node|string ... $nodes)
 
 replaceChildren (Node|string ... $nodes)
 
 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

Element $firstElementChild
 
Element $lastElementChild
 
int $childElementCount
 
- 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
 

Detailed Description

Definition at line 1859 of file php_dom.stub.php.

Member Function Documentation

◆ append()

Dom\DocumentFragment::append ( Node|string ... $nodes)

@implementation-alias DOMElement\append

Implements Dom\ParentNode.

Definition at line 1880 of file php_dom.stub.php.

◆ appendXml()

Dom\DocumentFragment::appendXml ( string $data)

@implementation-alias DOMDocumentFragment\appendXML

Definition at line 1878 of file php_dom.stub.php.

◆ prepend()

Dom\DocumentFragment::prepend ( Node|string ... $nodes)

@implementation-alias DOMElement\prepend

Implements Dom\ParentNode.

Definition at line 1882 of file php_dom.stub.php.

◆ querySelector()

Dom\DocumentFragment::querySelector ( string $selectors)

@implementation-alias Dom\Element::querySelector

Implements Dom\ParentNode.

Definition at line 1887 of file php_dom.stub.php.

◆ querySelectorAll()

Dom\DocumentFragment::querySelectorAll ( string $selectors)

@implementation-alias Dom\Element::querySelectorAll

Implements Dom\ParentNode.

Definition at line 1889 of file php_dom.stub.php.

◆ replaceChildren()

Dom\DocumentFragment::replaceChildren ( Node|string ... $nodes)

@implementation-alias DOMElement\replaceChildren

Implements Dom\ParentNode.

Definition at line 1884 of file php_dom.stub.php.

Field Documentation

◆ $childElementCount

int Dom\DocumentFragment::$childElementCount

@readonly @virtual

Definition at line 1875 of file php_dom.stub.php.

◆ $firstElementChild

Element Dom\DocumentFragment::$firstElementChild

@readonly @virtual

Definition at line 1865 of file php_dom.stub.php.

◆ $lastElementChild

Element Dom\DocumentFragment::$lastElementChild

@readonly @virtual

Definition at line 1870 of file php_dom.stub.php.


The documentation for this class was generated from the following file: