Parsoid
A bidirectional parser between wikitext and HTML5
Wikimedia\Parsoid\Core\ContentModelHandler Class Reference
+ Inheritance diagram for Wikimedia\Parsoid\Core\ContentModelHandler:

Public Member Functions

 toDOM (ParsoidExtensionAPI $extApi)
 
 fromDOM (ParsoidExtensionAPI $extApi, ?SelserData $selserData=null)
 

Member Function Documentation

◆ fromDOM()

Wikimedia\Parsoid\Core\ContentModelHandler::fromDOM ( ParsoidExtensionAPI  $extApi,
?SelserData  $selserData = null 
)
abstract
Parameters
ParsoidExtensionAPI$extApi
?SelserData$selserData
Returns
string

Reimplemented in Wikimedia\Parsoid\Wikitext\ContentModelHandler, and Wikimedia\Parsoid\Ext\JSON\JSON.

◆ toDOM()

Wikimedia\Parsoid\Core\ContentModelHandler::toDOM ( ParsoidExtensionAPI  $extApi)
abstract
Parameters
ParsoidExtensionAPI$extApi
Returns
Document

Reimplemented in Wikimedia\Parsoid\Wikitext\ContentModelHandler, and Wikimedia\Parsoid\Ext\JSON\JSON.


The documentation for this class was generated from the following file: