Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Ext\Cite\RefProcessor Class Reference

wt -> html DOM PostProcessor More...

+ Inheritance diagram for Wikimedia\Parsoid\Ext\Cite\RefProcessor:
+ Collaboration diagram for Wikimedia\Parsoid\Ext\Cite\RefProcessor:

Public Member Functions

 wtPostprocess (ParsoidExtensionAPI $extApi, Node $node, array $options, bool $atTopLevel)
 Post-process DOM in the wt2html direction.
Parameters
ParsoidExtensionAPI$extApi
DocumentFragment | Element$rootThe root of the tree to process
array$options
bool$atTopLevelIs this processor invoked on the top level page? If false, this is being invoked in a sub-pipeline (ex: extensions)

 
 htmlPreprocess (ParsoidExtensionAPI $extApi, Element $root)
 html -> wt DOM PreProcessor
 

Detailed Description

wt -> html DOM PostProcessor

Member Function Documentation

◆ htmlPreprocess()

Wikimedia\Parsoid\Ext\Cite\RefProcessor::htmlPreprocess ( ParsoidExtensionAPI $extApi,
Element $root )

html -> wt DOM PreProcessor

Nothing to do right now.

But, for example, as part of some future functionality, this could be used to reconstitute page-level information from local annotations left behind by editing clients.

Parameters
ParsoidExtensionAPI$extApi
Element$root

Reimplemented from Wikimedia\Parsoid\Ext\DOMProcessor.

◆ wtPostprocess()

Wikimedia\Parsoid\Ext\Cite\RefProcessor::wtPostprocess ( ParsoidExtensionAPI $extApi,
Node $node,
array $options,
bool $atTopLevel )

Post-process DOM in the wt2html direction.

Parameters
ParsoidExtensionAPI$extApi
DocumentFragment | Element$rootThe root of the tree to process
array$options
bool$atTopLevelIs this processor invoked on the top level page? If false, this is being invoked in a sub-pipeline (ex: extensions)

Reimplemented from Wikimedia\Parsoid\Ext\DOMProcessor.


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