|
| __construct (Document $doc) |
|
| getPageBundle () |
| Return this document's pagebundle object.
|
|
| setPageBundle (DomPageBundle $pageBundle) |
| Reset the document's pagebundle object.
|
|
| 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: