MediaWiki  REL1_22
GetConfiguration Class Reference

Print serialized output of MediaWiki config vars. More...

Inheritance diagram for GetConfiguration:
Collaboration diagram for GetConfiguration:

List of all members.

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)

Detailed Description

Print serialized output of MediaWiki config vars.

Definition at line 33 of file getConfiguration.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 50 of file getConfiguration.php.

References Maintenance\addOption().


Member Function Documentation

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.

References $value, and as.

Referenced by finalSetup().

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().


Member Data Documentation

GetConfiguration::$outFormats [static, protected]
Initial value:
 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.


The documentation for this class was generated from the following file: