MediaWiki
1.32.5
|
Deferrable Update for closure/callback updates via IDatabase::doAtomicSection() More...
Public Member Functions | |
__construct (IDatabase $dbw, $fname, callable $callback) | |
cancelOnRollback ( $trigger) | |
doUpdate () | |
Perform the actual work. More... | |
getOrigin () | |
Private Attributes | |
callable null | $callback |
IDatabase | $dbw |
string | $fname |
Deferrable Update for closure/callback updates via IDatabase::doAtomicSection()
Definition at line 9 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::__construct | ( | IDatabase | $dbw, |
$fname, | |||
callable | $callback | ||
) |
IDatabase | $dbw | |
string | $fname | Caller name (usually METHOD) |
callable | $callback |
Definition at line 23 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 39 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 33 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 45 of file AtomicSectionUpdate.php.
References $fname.
|
private |
Definition at line 15 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 11 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 13 of file AtomicSectionUpdate.php.
Referenced by __construct(), and getOrigin().