MediaWiki REL1_33
|
Public Member Functions | |
__construct (BatchRowIterator $reader, BatchRowWriter $writer, RowUpdateGenerator $generator) | |
execute () | |
Runs the batch update process. | |
setOutput (callable $output) | |
Accepts a callable which will receive a single parameter containing string status updates. | |
Protected Member Functions | |
output ( $text) | |
Write out a status update. | |
Protected Attributes | |
$generator | |
$output | |
$reader | |
$writer | |
Definition at line 42 of file BatchRowUpdate.php.
BatchRowUpdate::__construct | ( | BatchRowIterator | $reader, |
BatchRowWriter | $writer, | ||
RowUpdateGenerator | $generator ) |
BatchRowIterator | $reader | Iterator that returns an array of database rows |
BatchRowWriter | $writer | Writer capable of pushing row updates to the database |
RowUpdateGenerator | $generator | Generates single row updates based on the rows content |
Definition at line 74 of file BatchRowUpdate.php.
References $generator, $reader, $writer, output(), and writer.
BatchRowUpdate::execute | ( | ) |
|
protected |
Write out a status update.
string | $text | The value to print |
Definition at line 125 of file BatchRowUpdate.php.
References and(), and output().
Referenced by __construct(), execute(), output(), and setOutput().
BatchRowUpdate::setOutput | ( | callable | $output | ) |
Accepts a callable which will receive a single parameter containing string status updates.
callable | $output | A callback taking a single string parameter to output |
Definition at line 116 of file BatchRowUpdate.php.
|
protected |
Definition at line 59 of file BatchRowUpdate.php.
Referenced by __construct().
|
protected |
Definition at line 64 of file BatchRowUpdate.php.
Referenced by setOutput().
|
protected |
Definition at line 47 of file BatchRowUpdate.php.
Referenced by __construct().
|
protected |
Definition at line 53 of file BatchRowUpdate.php.
Referenced by __construct().