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

Public Member Functions

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

Member Function Documentation

◆ fromDOM()

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

Reimplemented in Parsoid\WikitextContentModelHandler.

◆ toDOM()

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

Reimplemented in Parsoid\WikitextContentModelHandler.


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