MediaWiki
1.28.0
|
Interface for configuration instances. More...
Public Member Functions | |
get ($name) | |
Get a configuration variable such as "Sitename" or "UploadMaintenance.". More... | |
has ($name) | |
Check whether a configuration option is set for the given name. More... | |
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in HashConfig, GlobalVarConfig, and MultiConfig.
Referenced by MediaWiki\Auth\Throttler\__construct(), MWLBFactory\applyDefaultConfig(), MimeMagic\applyDefaultParameters(), MultiConfig\get(), ApiQueryUserInfo\getCentralUserInfo(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), Installer\getInstallerConfig(), ResourceLoaderUserStylesModule\getPages(), ResourceLoaderUserModule\getPages(), ResourceLoaderWikiModule\getPages(), ResourceLoaderUploadDialogModule\getScript(), PasswordFactory\init(), MediaWiki\MediaWikiServices\newInstance(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest\newRandom(), MediaWiki\preOutputCommit(), MediaWiki\Session\CookieSessionProvider\setConfig(), MediaWiki\Session\CookieSessionProviderTest\testCookieData(), MediaWiki\Auth\AuthManagerTest\testProviderCreation(), and OutputPage\transformResourcePath().
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in HashConfig, MultiConfig, and GlobalVarConfig.