MediaWiki
1.30.2
|
Deferrable Update for closure/callback. More...
Public Member Functions | |
__construct (callable $callback, $fname='unknown', IDatabase $dbw=null) | |
cancelOnRollback ( $trigger) | |
doUpdate () | |
Perform the actual work. More... | |
getOrigin () | |
Private Attributes | |
callable null | $callback |
string | $fname |
Deferrable Update for closure/callback.
Definition at line 8 of file MWCallableUpdate.php.
MWCallableUpdate::__construct | ( | callable | $callback, |
$fname = 'unknown' , |
|||
IDatabase | $dbw = null |
||
) |
callable | $callback | |
string | $fname | Calling method |
IDatabase | null | $dbw | Abort if this DB is rolled back optional |
Definition at line 19 of file MWCallableUpdate.php.
MWCallableUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 34 of file MWCallableUpdate.php.
MWCallableUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 28 of file MWCallableUpdate.php.
MWCallableUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 40 of file MWCallableUpdate.php.
References $fname.
|
private |
Definition at line 10 of file MWCallableUpdate.php.
Referenced by __construct().
|
private |
Definition at line 12 of file MWCallableUpdate.php.
Referenced by __construct(), and getOrigin().