MediaWiki
1.28.0
|
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 7 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::__construct | ( | IDatabase | $dbw, |
$fname, | |||
callable | $callback | ||
) |
IDatabase | $dbw | |
string | $fname | Caller name (usually METHOD) |
callable | $callback |
Definition at line 21 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 37 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 31 of file AtomicSectionUpdate.php.
AtomicSectionUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 43 of file AtomicSectionUpdate.php.
References $fname.
|
private |
Definition at line 13 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 9 of file AtomicSectionUpdate.php.
Referenced by __construct().
|
private |
Definition at line 11 of file AtomicSectionUpdate.php.
Referenced by __construct(), and getOrigin().