Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\NodeData\NodeData Class Reference
+ Collaboration diagram for Wikimedia\Parsoid\NodeData\NodeData:

Public Member Functions

 cloneNodeData (bool $stripSealedFragments=false)
 Deep clone this object If $stripSealedFragments is true, sealed DOMFragment included in expanded attributes are deleted in the clone.
 

Public Attributes

DataParsoid $parsoid = null
 The unserialized data-parsoid attribute.
 
DataMw $mw = null
 The unserialized data-mw attribute.
 

Member Function Documentation

◆ cloneNodeData()

Wikimedia\Parsoid\NodeData\NodeData::cloneNodeData ( bool $stripSealedFragments = false)

Deep clone this object If $stripSealedFragments is true, sealed DOMFragment included in expanded attributes are deleted in the clone.

Parameters
bool$stripSealedFragments
Returns
self

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