MediaWiki REL1_39
MediaWiki\Parser\Parsoid\HTMLTransformFactory Class Reference

Public Member Functions

 __construct (Parsoid $parsoid, array $parsoidSettings, PageConfigFactory $configFactory)
 
 getHTMLTransform (string $modifiedHTML, PageIdentity $page)
 Get the HTML transform object for a given page and specified modified HTML.
 

Detailed Description

Stability: unstable

Definition at line 12 of file HTMLTransformFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Parser\Parsoid\HTMLTransformFactory::__construct ( Parsoid $parsoid,
array $parsoidSettings,
PageConfigFactory $configFactory )
Parameters
Parsoid$parsoid
array$parsoidSettings
PageConfigFactory$configFactory

Definition at line 28 of file HTMLTransformFactory.php.

Member Function Documentation

◆ getHTMLTransform()

MediaWiki\Parser\Parsoid\HTMLTransformFactory::getHTMLTransform ( string $modifiedHTML,
PageIdentity $page )

Get the HTML transform object for a given page and specified modified HTML.

Parameters
string$modifiedHTML
PageIdentity$page
Returns
HTMLTransform

Definition at line 47 of file HTMLTransformFactory.php.


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