MediaWiki  1.23.0
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)
 
- Public Member Functions inherited from ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage(). More...
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID. More...
 
 getConfig ()
 Get the Config object. More...
 
 getContext ()
 Get the RequestContext object. More...
 
 getLang ()
 Get the Language object. More...
 
 getLanguage ()
 Get the Language object. More...
 
 getOutput ()
 Get the OutputPage object. More...
 
 getRequest ()
 Get the WebRequest object. More...
 
 getSkin ()
 Get the Skin object. More...
 
 getTitle ()
 Get the Title object. More...
 
 getUser ()
 Get the User object. More...
 
 getWikiPage ()
 Get the WikiPage object. More...
 
 msg ()
 Get a Message object with context set Parameters are the same as wfMessage() More...
 
 setContext (IContextSource $context)
 Set the IContextSource object. More...
 

Private Attributes

 $mResultArr = array()
 

Detailed Description

Import reporter for the API.

Definition at line 195 of file ApiImport.php.

Member Function Documentation

◆ getData()

ApiImportReporter::getData ( )

Definition at line 225 of file ApiImport.php.

References $mResultArr.

◆ reportPage()

ApiImportReporter::reportPage (   $title,
  $origTitle,
  $revisionCount,
  $successCount,
  $pageInfo 
)
Parameters
$titleTitle
$origTitleTitle
$revisionCountint
$successCountint
$pageInfo
Returns
void

Reimplemented from ImportReporter.

Definition at line 206 of file ApiImport.php.

References $title, ApiQueryBase\addTitleInfo(), and array().

Member Data Documentation

◆ $mResultArr

ApiImportReporter::$mResultArr = array()
private

Definition at line 196 of file ApiImport.php.

Referenced by getData().


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