MediaWiki master
|
Accesses configuration settings from $GLOBALS. More...
Inherits MediaWiki\Config\Config.
Public Member Functions | ||||||
__construct ( $prefix='wg') | ||||||
get ( $name) | ||||||
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
| ||||||
has ( $name) | ||||||
Check whether a configuration option is set for the given name.
| ||||||
Static Public Member Functions | |
static | newInstance () |
Default builder function. | |
Accesses configuration settings from $GLOBALS.
Definition at line 31 of file GlobalVarConfig.php.
MediaWiki\Config\GlobalVarConfig::__construct | ( | $prefix = 'wg' | ) |
string | $prefix |
Definition at line 52 of file GlobalVarConfig.php.
MediaWiki\Config\GlobalVarConfig::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implements MediaWiki\Config\Config.
Definition at line 59 of file GlobalVarConfig.php.
References MediaWiki\Config\GlobalVarConfig\has().
MediaWiki\Config\GlobalVarConfig::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implements MediaWiki\Config\Config.
Definition at line 69 of file GlobalVarConfig.php.
Referenced by MediaWiki\Config\GlobalVarConfig\get().
|
static |