Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Maintenance\DataRebuilder Class Reference

Public Member Functions

 __construct (Store $store, TitleFactory $titleFactory)
 
 setMessageReporter (MessageReporter $reporter)
 
 setAutoRecovery (AutoRecovery $autoRecovery)
 
 setOptions (Options $options)
 
 rebuild ()
 
 getRebuildCount ()
 
 getExceptionCount ()
 

Detailed Description

Is part of the rebuildData.php maintenance script to rebuild existing data for the store

Note
This is an internal class and should not be used outside of smw-core

GNU GPL v2+

Since
1.9.2
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Maintenance\DataRebuilder::__construct ( Store  $store,
TitleFactory  $titleFactory 
)
Since
1.9.2
Parameters
Store$store
TitleFactory$titleFactory

Member Function Documentation

◆ getExceptionCount()

SMW\Maintenance\DataRebuilder::getExceptionCount ( )
Since
3.0
Returns
int

◆ getRebuildCount()

SMW\Maintenance\DataRebuilder::getRebuildCount ( )
Since
1.9.2
Returns
int

◆ rebuild()

SMW\Maintenance\DataRebuilder::rebuild ( )
Since
1.9.2
Returns
boolean

◆ setAutoRecovery()

SMW\Maintenance\DataRebuilder::setAutoRecovery ( AutoRecovery  $autoRecovery)
Since
3.1
Parameters
AutoRecovery$autoRecovery

◆ setMessageReporter()

SMW\Maintenance\DataRebuilder::setMessageReporter ( MessageReporter  $reporter)
Since
2.1
Parameters
MessageReporter$reporter

◆ setOptions()

SMW\Maintenance\DataRebuilder::setOptions ( Options  $options)
Since
1.9.2
Parameters
Options$options

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

About | General disclaimer | Privacy policy