MediaWiki REL1_39
MediaWiki\Export\WikiExporterFactory Class Reference

Factory service for WikiExporter instances. More...

Public Member Functions

 __construct (HookContainer $hookContainer, RevisionStore $revisionStore, TitleParser $titleParser)
 
 getWikiExporter (IDatabase $db, $history=WikiExporter::CURRENT, $text=WikiExporter::TEXT, $limitNamespaces=null)
 

Detailed Description

Factory service for WikiExporter instances.

Author
Zabe
Since
1.38

Definition at line 35 of file WikiExporterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Export\WikiExporterFactory::__construct ( HookContainer $hookContainer,
RevisionStore $revisionStore,
TitleParser $titleParser )
Parameters
HookContainer$hookContainer
RevisionStore$revisionStore
TitleParser$titleParser

Definition at line 50 of file WikiExporterFactory.php.

Member Function Documentation

◆ getWikiExporter()

MediaWiki\Export\WikiExporterFactory::getWikiExporter ( IDatabase $db,
$history = WikiExporter::CURRENT,
$text = WikiExporter::TEXT,
$limitNamespaces = null )
Parameters
IDatabase$db
int | array$history
int$text
null | array$limitNamespaces
Returns
WikiExporter

Definition at line 68 of file WikiExporterFactory.php.


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