MediaWiki REL1_31
ApiImportReporter Class Reference

Import reporter for the API. More...

Inheritance diagram for ApiImportReporter:
Collaboration diagram for ApiImportReporter:

Public Member Functions

 getData ()
 
 reportPage ( $title, $origTitle, $revisionCount, $successCount, $pageInfo)
 
- Public Member Functions inherited from ImportReporter
 __construct ( $importer, $upload, $interwiki, $reason=false)
 
 close ()
 
 open ()
 
 reportLogItem ()
 
 reportNotice ( $msg, array $params)
 
 setChangeTags (array $tags)
 Sets change tags to apply to the import log entry and null revision.
 
- Public Member Functions inherited from ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage().
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID.
 
 getConfig ()
 
 getContext ()
 Get the base IContextSource object.
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 Get the WikiPage object.
 
 msg ( $key)
 Get a Message object with context set Parameters are the same as wfMessage()
 
 setContext (IContextSource $context)
 

Private Attributes

 $mResultArr = []
 

Detailed Description

Import reporter for the API.

Definition at line 189 of file ApiImport.php.

Member Function Documentation

◆ getData()

ApiImportReporter::getData ( )

Definition at line 219 of file ApiImport.php.

References $mResultArr.

◆ reportPage()

ApiImportReporter::reportPage ( $title,
$origTitle,
$revisionCount,
$successCount,
$pageInfo )
Parameters
Title$title
Title$origTitle
int$revisionCount
int$successCount
array$pageInfo
Returns
void

Reimplemented from ImportReporter.

Definition at line 200 of file ApiImport.php.

References ApiQueryBase\addTitleInfo().

Member Data Documentation

◆ $mResultArr

ApiImportReporter::$mResultArr = []
private

Definition at line 190 of file ApiImport.php.

Referenced by getData().


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