Information about the body of an extension tag.
More...
|
|
| __construct (?string $extsrc=null, ?DocumentFragment $html=null, ?string $id=null) |
| |
| | setHtml (ParsoidExtensionApi $extApi, DocumentFragment $df) |
| | Transitional helper method to set the html property as a DocumentFragment.
|
| |
| | getHtml (ParsoidExtensionApi $extApi) |
| | Transitional helper method to get the html property as a DocumentFragment.
|
| |
|
| hasHtml () |
| |
|
| __clone () |
| |
| | embeddedDocumentFragments () |
| |
|
| toJsonArray (JsonCodecInterface $codec) |
| |
|
| static | new (array $values) |
| | Transitional helper method to initialize a new value appropriate for DataMw::$body.
|
| |
|
static | jsonClassHintFor (string $keyname) |
| |
|
static | newFromJsonArray (JsonCodecInterface $codec, array $json) |
| |
|
|
string | $extsrc |
| | The original source string for this extension tag.
|
| |
|
DocumentFragment | $html |
| | Embedded HTML for the contents of this tag.
|
| |
|
string | $id |
| | Used by the Cite extension.
|
| |
Information about the body of an extension tag.
◆ embeddedDocumentFragments()
| Wikimedia\Parsoid\NodeData\DataMwBody::embeddedDocumentFragments |
( |
| ) |
|
- Returns
- \Iterator<DocumentFragment>
◆ getHtml()
| Wikimedia\Parsoid\NodeData\DataMwBody::getHtml |
( |
ParsoidExtensionApi | $extApi | ) |
|
Transitional helper method to get the html property as a DocumentFragment.
- Deprecated
◆ new()
| static Wikimedia\Parsoid\NodeData\DataMwBody::new |
( |
array | $values | ) |
|
|
static |
Transitional helper method to initialize a new value appropriate for DataMw::$body.
- Deprecated
◆ setHtml()
| Wikimedia\Parsoid\NodeData\DataMwBody::setHtml |
( |
ParsoidExtensionApi | $extApi, |
|
|
DocumentFragment | $df ) |
Transitional helper method to set the html property as a DocumentFragment.
- Deprecated
The documentation for this class was generated from the following file:
- src/NodeData/DataMwBody.php