|
|
| __clone () |
| |
| | cloneNodeData (bool $stripSealedFragments=false) |
| | Deep clone this object If $stripSealedFragments is true, sealed DOMFragment included in expanded attributes are deleted in the clone.
|
| |
|
| getDataMw (Element $node) |
| | Get data meta wiki info from a node.
|
| |
|
| getDataMwIfExists (Element $node) |
| | Get data meta wiki info from a node.
|
| |
|
| setDataMw (Element $node, ?DataMw $dmw) |
| | Set data meta wiki info from a node.
|
| |
|
| getDataParsoid (Element $node) |
| | Get data parsoid info from a node.
|
| |
|
| setDataParsoid (Element $node, DataParsoid $dp) |
| | Set data parsoid info on a node.
|
| |
|
|
const | PERSISTENT_ATTR_NAMES = [ 'parsoid', 'mw' ] |
| |
|
| $parsoid = null |
| |
|
| $mw = null |
| |
◆ 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
- static
The documentation for this class was generated from the following file:
- src/NodeData/NodeData.php