|
| getObject (int $nodeId) |
| Get the data object for the node with data-object-id 'nodeId'.
|
|
| stashObject (NodeData $data) |
| Stash the data and return an id for retrieving it later.
|
|
|
array | $transclusionMetaTagDepthMap = [] |
| FIXME: Figure out a decent interface for updating these depths without needing to import the various util files.
|
|
◆ getObject()
Wikimedia\Parsoid\NodeData\DataBag::getObject |
( |
int | $nodeId | ) |
|
Get the data object for the node with data-object-id 'nodeId'.
This will return null if a non-existent nodeId is provided.
- Parameters
-
- Returns
- NodeData|null
◆ stashObject()
Wikimedia\Parsoid\NodeData\DataBag::stashObject |
( |
NodeData | $data | ) |
|
Stash the data and return an id for retrieving it later.
- Parameters
-
- Returns
- int
◆ $transclusionMetaTagDepthMap
array Wikimedia\Parsoid\NodeData\DataBag::$transclusionMetaTagDepthMap = [] |
FIXME: Figure out a decent interface for updating these depths without needing to import the various util files.
Map of start/end meta tag tree depths keyed by about id
The documentation for this class was generated from the following file: