MediaWiki REL1_32
|
Deferrable Update for closure/callback updates that should use auto-commit mode. More...
Public Member Functions | |
__construct (IDatabase $dbw, $fname, callable $callback) | |
cancelOnRollback ( $trigger) | |
doUpdate () | |
Perform the actual work. | |
getOrigin () | |
Private Attributes | |
callable null | $callback |
IDatabase | $dbw |
string | $fname |
Deferrable Update for closure/callback updates that should use auto-commit mode.
Definition at line 9 of file AutoCommitUpdate.php.
AutoCommitUpdate::__construct | ( | IDatabase | $dbw, |
$fname, | |||
callable | $callback ) |
IDatabase | $dbw | |
string | $fname | Caller name (usually METHOD) |
callable | $callback | Callback that takes (IDatabase, method name string) |
Definition at line 22 of file AutoCommitUpdate.php.
AutoCommitUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 53 of file AutoCommitUpdate.php.
AutoCommitUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 32 of file AutoCommitUpdate.php.
AutoCommitUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 59 of file AutoCommitUpdate.php.
References $fname.
|
private |
Definition at line 15 of file AutoCommitUpdate.php.
Referenced by __construct(), and doUpdate().
|
private |
Definition at line 11 of file AutoCommitUpdate.php.
Referenced by __construct().
|
private |
Definition at line 13 of file AutoCommitUpdate.php.
Referenced by __construct(), and getOrigin().