|
static | getDiffMark (Node $node) |
| Get a node's diff marker.
|
|
static | hasDiffMarkers (Node $node) |
| Check that the diff markers on the node exist.
|
|
static | hasDiffMark (Node $node, string $mark) |
|
static | hasInsertedDiffMark (Node $node) |
|
static | maybeDeletedNode (?Node $node) |
|
static | isDeletedBlockNode (?Node $node) |
| Is node a mw:DiffMarker node that represents a deleted block node? This annotation is added by the DOMDiff pass.
|
|
static | directChildrenChanged (Node $node) |
|
static | onlySubtreeChanged (Element $node) |
|
static | subtreeUnchanged (Element $node) |
|
static | addDiffMark (Node $node, Env $env, string $mark) |
|
static | attribsEquals (Element $nodeA, Element $nodeB, array $ignoreableAttribs, array $specializedAttribHandlers) |
| Attribute equality test.
|
|
static | isDiffMarker (?Node $node, ?string $mark=null) |
| Check a node to see whether it's a diff marker.
|
|
◆ attribsEquals()
static Wikimedia\Parsoid\Html2Wt\DiffUtils::attribsEquals |
( |
Element | $nodeA, |
|
|
Element | $nodeB, |
|
|
array | $ignoreableAttribs, |
|
|
array | $specializedAttribHandlers ) |
|
static |
Attribute equality test.
- Parameters
-
Element | $nodeA | |
Element | $nodeB | |
array | $ignoreableAttribs | |
array | $specializedAttribHandlers | |
- Returns
- bool
◆ getDiffMark()
static Wikimedia\Parsoid\Html2Wt\DiffUtils::getDiffMark |
( |
Node | $node | ) |
|
|
static |
Get a node's diff marker.
- Parameters
-
- Returns
- ?DataParsoidDiff
◆ hasDiffMarkers()
static Wikimedia\Parsoid\Html2Wt\DiffUtils::hasDiffMarkers |
( |
Node | $node | ) |
|
|
static |
Check that the diff markers on the node exist.
- Parameters
-
- Returns
- bool
◆ isDeletedBlockNode()
static Wikimedia\Parsoid\Html2Wt\DiffUtils::isDeletedBlockNode |
( |
?Node | $node | ) |
|
|
static |
Is node a mw:DiffMarker node that represents a deleted block node? This annotation is added by the DOMDiff pass.
- Parameters
-
- Returns
- bool
◆ isDiffMarker()
static Wikimedia\Parsoid\Html2Wt\DiffUtils::isDiffMarker |
( |
?Node | $node, |
|
|
?string | $mark = null ) |
|
static |
Check a node to see whether it's a diff marker.
- Parameters
-
- Returns
- bool
The documentation for this class was generated from the following file:
- src/Html2Wt/DiffUtils.php