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

 toHTML (Env $env)
 
 fromHTML (Env $env, DOMDocument $doc, ?SelserData $selserData=null)
 
- Public Member Functions inherited from Parsoid\ContentModelHandler
 toHTML (Env $env)
 
 fromHTML (Env $env, DOMDocument $doc, ?SelserData $selserData=null)
 

Member Function Documentation

◆ fromHTML()

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

◆ toHTML()

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

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