MediaWiki REL1_30
|
Interface for configuration instances. More...
Public Member Functions | |
get ( $name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". | |
has ( $name) | |
Check whether a configuration option is set for the given name. | |
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in GlobalVarConfig, HashConfig, and MultiConfig.
References $name.
Referenced by MultiConfig\get(), ResourceLoaderSkinModule\getLogo(), ResourceLoaderUserModule\getPages(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderUploadDialogModule\getScript(), PasswordFactory\init(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\Session\CookieSessionProvider\setConfig(), and MediaWiki\Auth\AuthManagerTest\testProviderCreation().
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in GlobalVarConfig, HashConfig, and MultiConfig.