MediaWiki
REL1_22
|
Print serialized output of MediaWiki config vars. More...
Public Member Functions | |
__construct () | |
execute () | |
finalSetup () | |
finalSetup() since we need MWException | |
Protected Member Functions | |
formatVarDump ($res) | |
validateParamsAndArgs () | |
Run some validation checks on the params, etc. | |
Protected Attributes | |
$regex = null | |
$settings_list = array() | |
Static Protected Attributes | |
static | $outFormats |
List of format output internally supported. | |
Private Member Functions | |
isAllowedVariable ($value) |
Print serialized output of MediaWiki config vars.
Definition at line 33 of file getConfiguration.php.
Reimplemented from Maintenance.
Definition at line 50 of file getConfiguration.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 113 of file getConfiguration.php.
References $name, $out, $res, $value, array(), as, FormatJson\encode(), formatVarDump(), Maintenance\getOption(), and Maintenance\output().
finalSetup() since we need MWException
Reimplemented from Maintenance.
Definition at line 87 of file getConfiguration.php.
References $name, as, Maintenance\getOption(), Maintenance\hasOption(), and isAllowedVariable().
GetConfiguration::formatVarDump | ( | $ | res | ) | [protected] |
Definition at line 165 of file getConfiguration.php.
References $key, $res, $ret, $value, as, Maintenance\output(), and print.
Referenced by execute().
GetConfiguration::isAllowedVariable | ( | $ | value | ) | [private] |
Definition at line 178 of file getConfiguration.php.
Referenced by finalSetup().
GetConfiguration::validateParamsAndArgs | ( | ) | [protected] |
Run some validation checks on the params, etc.
Reimplemented from Maintenance.
Definition at line 59 of file getConfiguration.php.
References Maintenance\error(), Maintenance\getOption(), and Maintenance\maybeHelp().
GetConfiguration::$outFormats [static, protected] |
array( 'json', 'php', 'serialize', 'vardump', )
List of format output internally supported.
Each item MUST be lower case.
Definition at line 43 of file getConfiguration.php.
GetConfiguration::$regex = null [protected] |
Definition at line 35 of file getConfiguration.php.
GetConfiguration::$settings_list = array() [protected] |
Definition at line 37 of file getConfiguration.php.