MediaWiki REL1_28
|
Deferrable Update for closure/callback. More...
Public Member Functions | |
__construct (callable $callback, $fname='unknown', IDatabase $dbw=null) | |
cancelOnRollback ( $trigger) | |
doUpdate () | |
Perform the actual work. | |
getOrigin () | |
Private Attributes | |
callable null | $callback |
string | $fname |
Deferrable Update for closure/callback.
Definition at line 6 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] (since 1.28) |
Definition at line 17 of file MWCallableUpdate.php.
MWCallableUpdate::cancelOnRollback | ( | $trigger | ) |
Definition at line 32 of file MWCallableUpdate.php.
MWCallableUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 26 of file MWCallableUpdate.php.
MWCallableUpdate::getOrigin | ( | ) |
Implements DeferrableCallback.
Definition at line 38 of file MWCallableUpdate.php.
References $fname.
|
private |
Definition at line 8 of file MWCallableUpdate.php.
Referenced by __construct().
|
private |
Definition at line 10 of file MWCallableUpdate.php.
Referenced by __construct(), and getOrigin().