|
MediaWiki REL1_39
|
DeferredUpdates helper class for tracking DeferrableUpdate::doUpdate() nesting levels caused by nested calls to DeferredUpdates::doUpdates() More...
Public Member Functions | |
| __construct () | |
| ascend () | |
| Pop the innermost scope from the stack. | |
| current () | |
| descend ( $activeStage, DeferrableUpdate $update) | |
| Make a new child scope, push it onto the stack, and return it. | |
| getRecursiveDepth () | |
| Get the depth of the scope stack below the root scope. | |
DeferredUpdates helper class for tracking DeferrableUpdate::doUpdate() nesting levels caused by nested calls to DeferredUpdates::doUpdates()
Definition at line 28 of file DeferredUpdatesScopeStack.php.
| DeferredUpdatesScopeStack::__construct | ( | ) |
Definition at line 32 of file DeferredUpdatesScopeStack.php.
References DeferredUpdatesScope\newRootScope().
| DeferredUpdatesScopeStack::ascend | ( | ) |
Pop the innermost scope from the stack.
Definition at line 62 of file DeferredUpdatesScopeStack.php.
Referenced by DeferredUpdates\doUpdates().
| DeferredUpdatesScopeStack::current | ( | ) |
Definition at line 39 of file DeferredUpdatesScopeStack.php.
Referenced by descend().
| DeferredUpdatesScopeStack::descend | ( | $activeStage, | |
| DeferrableUpdate | $update ) |
Make a new child scope, push it onto the stack, and return it.
| int | $activeStage | The in-progress stage; one of DeferredUpdates::STAGES |
| DeferrableUpdate | $update | The deferred update that owns this scope |
Definition at line 50 of file DeferredUpdatesScopeStack.php.
References current(), and DeferredUpdatesScope\newChildScope().
Referenced by DeferredUpdates\doUpdates().
| DeferredUpdatesScopeStack::getRecursiveDepth | ( | ) |
Get the depth of the scope stack below the root scope.
Definition at line 75 of file DeferredUpdatesScopeStack.php.