Interface for configuration instances.
More...
|
| get ( $name) |
| Get a configuration variable such as "Sitename" or "UploadMaintenance.". More...
|
|
| set ( $name, $value) |
| Set a configuration variable such a "Sitename" to something like "My Wiki". More...
|
|
Interface for configuration instances.
- Since
- 1.23
Definition at line 28 of file Config.php.
◆ get()
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
- Parameters
-
string | $name | Name of configuration option |
- Returns
- mixed Value configured
- Exceptions
-
Implemented in GlobalVarConfig.
◆ set()
Config::set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Set a configuration variable such a "Sitename" to something like "My Wiki".
- Parameters
-
string | $name | Name of configuration option |
mixed | $value | Value to set |
- Exceptions
-
Implemented in GlobalVarConfig.
The documentation for this interface was generated from the following file: