Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Importer\ContentCreators\XmlContentCreator Class Reference
Collaboration diagram for SMW\Importer\ContentCreators\XmlContentCreator:
Collaboration graph
[legend]

Public Member Functions

 __construct (ImporterServiceFactory $importerServiceFactory)
 
 setMessageReporter (MessageReporter $messageReporter)
 
 canCreateContentsFor (ImportContents $importContents)
 
 doCreateFrom (ImportContents $importContents)
 
 reportPage ($title, $foreignTitle, $revisionCount, $successCount, $pageInfo)
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Constructor & Destructor Documentation

SMW\Importer\ContentCreators\XmlContentCreator::__construct ( ImporterServiceFactory  $importerServiceFactory)
Since
3.0
Parameters
ImporterServiceFactory$importerServiceFactory

Member Function Documentation

SMW\Importer\ContentCreators\XmlContentCreator::canCreateContentsFor ( ImportContents  $importContents)
Since
3.0
Parameters
ImportContents$importContents

Implements SMW\Importer\ContentCreator.

SMW\Importer\ContentCreators\XmlContentCreator::doCreateFrom ( ImportContents  $importContents)
Since
3.0
Parameters
ImportContents$importContents

Implements SMW\Importer\ContentCreator.

SMW\Importer\ContentCreators\XmlContentCreator::reportPage (   $title,
  $foreignTitle,
  $revisionCount,
  $successCount,
  $pageInfo 
)
See also
WikiImporter::handlePage
Parameters
Title$title
ForeignTitle$foreignTitle
int$revisionCount
int$successCount
array$pageInfo
SMW\Importer\ContentCreators\XmlContentCreator::setMessageReporter ( MessageReporter  $messageReporter)
See also
MessageReporterAware::setMessageReporter
Since
3.0
Parameters
MessageReporter$messageReporter

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