MediaWiki REL1_34
|
Provides a fallback sequence for Config objects. More...
Public Member Functions | ||||||
__construct (array $configs) | ||||||
get ( $name) | ||||||
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
| ||||||
has ( $name) | ||||||
Check whether a configuration option is set for the given name.
| ||||||
Private Attributes | |
Config[] | $configs |
Array of Config objects to use Order matters, the Config objects will be checked in order to see whether they have the requested setting. | |
Provides a fallback sequence for Config objects.
Definition at line 28 of file MultiConfig.php.
MultiConfig::__construct | ( | array | $configs | ) |
MultiConfig::get | ( | $name | ) |
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
string | $name | Name of configuration option |
ConfigException |
Implements Config.
Definition at line 50 of file MultiConfig.php.
References Config\get().
MultiConfig::has | ( | $name | ) |
Check whether a configuration option is set for the given name.
string | $name | Name of configuration option |
Implements Config.
Definition at line 63 of file MultiConfig.php.
|
private |
Array of Config objects to use Order matters, the Config objects will be checked in order to see whether they have the requested setting.
Definition at line 38 of file MultiConfig.php.
Referenced by __construct().