MediaWiki REL1_34
|
Prefix the real command with a bunch of 'global $VAR;' commands, one for each global. More...
Public Member Functions | |
beforeTraverse (array $nodes) | |
Static Private Attributes | |
static | $superglobals |
Prefix the real command with a bunch of 'global $VAR;' commands, one for each global.
This will make the shell behave as if it was running in the global scope (almost; variables created in the shell won't become global if no global variable by that name existed before).
Definition at line 36 of file CodeCleanerGlobalsPass.inc.
CodeCleanerGlobalsPass::beforeTraverse | ( | array | $nodes | ) |
Definition at line 41 of file CodeCleanerGlobalsPass.inc.
References $GLOBALS.
|
staticprivate |
Definition at line 37 of file CodeCleanerGlobalsPass.inc.