MediaWiki REL1_40
|
Interface for configuration instances. More...
Inherited by EtcdConfig, GlobalVarConfig, HashConfig, MediaWiki\Config\IterableConfig, and MultiConfig.
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. | |
Interface for configuration instances.
Definition at line 30 of file Config.php.
Config::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implemented in EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Referenced by MediaWiki\EditPage\EditPage\__construct(), McrUndoAction\__construct(), LocalIdLookup\__construct(), MediaWiki\Rest\Handler\SearchHandler\__construct(), RenameUserJob\__construct(), MediaWiki\emitBufferedStatsdData(), ApiQueryUserInfo\getCentralUserInfo(), QueryPage\getDisabledQueryPages(), MediaWiki\Skin\SkinComponentFooter\getFooterIconsData(), Installer\getInstallerConfig(), ApiUpload\getMinUploadChunkSize(), MediaWiki\ResourceLoader\UserModule\getPages(), MediaWiki\ResourceLoader\UserStylesModule\getPages(), MediaWiki\ResourceLoader\WikiModule\getPages(), MediaWiki\ResourceLoader\FileModule\getScriptURLsForDebug(), MediaWiki\Request\ContentSecurityPolicy\isNonceRequired(), MediaWiki\preOutputCommit(), MediaWiki\Request\FauxResponse\setCookie(), OutputPage\styleLink(), OutputPage\transformResourcePath(), and MediaWiki\Settings\Config\ConfigSchemaAggregator\validateConfig().
Config::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implemented in EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.
Referenced by MediaWiki\Settings\Config\ConfigSchemaAggregator\validateConfig().