Parsoid
A bidirectional parser between wikitext and HTML5
Parsoid\WikitextContentModelHandler Class Reference
+ Inheritance diagram for Parsoid\WikitextContentModelHandler:
+ Collaboration diagram for Parsoid\WikitextContentModelHandler:

Public Member Functions

 toDOM (Env $env)
 
 fromDOM (Env $env, DOMDocument $doc, ?SelserData $selserData=null)
 

Member Function Documentation

◆ fromDOM()

Parsoid\WikitextContentModelHandler::fromDOM ( Env  $env,
DOMDocument  $doc,
?SelserData  $selserData = null 
)
Parameters
Env$env
DOMDocument$doc
SelserData | null$selserData
Returns
string

Reimplemented from Parsoid\ContentModelHandler.

◆ toDOM()

Parsoid\WikitextContentModelHandler::toDOM ( Env  $env)
Parameters
Env$env
Returns
DOMDocument

Reimplemented from Parsoid\ContentModelHandler.


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