MediaWiki master
MediaWiki\Export\WikiExporterFactory Class Reference

Factory service for WikiExporter instances. More...

Public Member Functions

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

Detailed Description

Factory service for WikiExporter instances.

Author
Zabe
Since
1.38

Definition at line 36 of file WikiExporterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 55 of file WikiExporterFactory.php.

Member Function Documentation

◆ getWikiExporter()

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

Definition at line 75 of file WikiExporterFactory.php.


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