Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\Maintenance\PopulateHashField Class Reference
Inheritance diagram for SMW\Maintenance\PopulateHashField:
Inheritance graph
[legend]
Collaboration diagram for SMW\Maintenance\PopulateHashField:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 setComplete ( $complete)
 
 setStore (Store $store)
 
 setMessageReporter (MessageReporter $messageReporter)
 
 reportMessage ( $message)
 
 execute ()
 
 fetchRows ()
 
 populate (\Iterator $rows=null)
 

Public Attributes

const COUNT_SCRIPT_EXECUTION_THRESHOLD = 200000
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Maintenance\PopulateHashField::__construct ( )
Since
3.1

Member Function Documentation

◆ execute()

SMW\Maintenance\PopulateHashField::execute ( )
See also
Maintenance::execute

◆ fetchRows()

SMW\Maintenance\PopulateHashField::fetchRows ( )
Since
3.1
Returns
Iterator

◆ populate()

SMW\Maintenance\PopulateHashField::populate ( \Iterator  $rows = null)
Since
3.1
Parameters
Iterator$rows

◆ reportMessage()

SMW\Maintenance\PopulateHashField::reportMessage (   $message)
Since
3.1
Parameters
string$message

◆ setComplete()

SMW\Maintenance\PopulateHashField::setComplete (   $complete)
Since
3.1
Parameters
boolean$complete

◆ setMessageReporter()

SMW\Maintenance\PopulateHashField::setMessageReporter ( MessageReporter  $messageReporter)
Since
3.1
Parameters
MessageReporter$messageReporter

◆ setStore()

SMW\Maintenance\PopulateHashField::setStore ( Store  $store)
Since
3.1
Parameters
Store$store

Member Data Documentation

◆ COUNT_SCRIPT_EXECUTION_THRESHOLD

const SMW\Maintenance\PopulateHashField::COUNT_SCRIPT_EXECUTION_THRESHOLD = 200000

Threshold as the when the populateHashField.php should be used by an administrator instead.

This postpones the execution to after setupStore.php/update.php in order to help minimize the time required for the initial setup/upgrade.


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

About | General disclaimer | Privacy policy